ifdef mp_begin_frame for HAVE_MICROPROFILE

This commit is contained in:
Anthony Pesch 2017-07-22 16:59:19 -04:00
parent d630dcf82f
commit 1b85abdfab
1 changed files with 2 additions and 0 deletions

View File

@ -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) {