mirror of https://github.com/inolen/redream.git
ifdef mp_begin_frame for HAVE_MICROPROFILE
This commit is contained in:
parent
d630dcf82f
commit
1b85abdfab
|
@ -251,8 +251,10 @@ void mp_render(struct microprofile *mp) {
|
|||
}
|
||||
|
||||
void mp_begin_frame(struct microprofile *mp, int width, int height) {
|
||||
#ifdef HAVE_MICROPROFILE
|
||||
mp->viewport_width = width;
|
||||
mp->viewport_height = height;
|
||||
#endif
|
||||
}
|
||||
|
||||
void mp_mousemove(struct microprofile *mp, int x, int y) {
|
||||
|
|
Loading…
Reference in New Issue