diff --git a/desmume/src/ctrlssdl.h b/desmume/src/ctrlssdl.h index 0b3c24378..ffdafe401 100644 --- a/desmume/src/ctrlssdl.h +++ b/desmume/src/ctrlssdl.h @@ -94,10 +94,11 @@ struct ctrls_event_config { int sdl_quit; int boost; int fake_mic; - GLuint *screen_texture; #ifdef HAVE_GL_GL_H + GLuint *screen_texture; void (*resize_cb)(u16 width, u16 height, GLuint *screen_texture); #else + void *screen_texture; void (*resize_cb)(u16 width, u16 height, void *screen_texture); #endif };