Merge branch 'master' into clipboard

This commit is contained in:
IoI_xD 2026-04-15 23:47:00 -05:00
commit 62fd2adcd1
2 changed files with 4 additions and 4 deletions

View file

@ -380,8 +380,8 @@ static void mwOpenGLMakeCurrentImpl(MwWidget handle) {
#ifdef USE_GDI #ifdef USE_GDI
if(handle->lowlevel->common.type == MwLLBackendGDI) { if(handle->lowlevel->common.type == MwLLBackendGDI) {
gdiopengl_t* o = handle->internal; gdiopengl_t* o = handle->internal;
BOOL (APIENTRY *swap_interval_ext)(int) = NULL; BOOL(APIENTRY * swap_interval_ext)(int) = NULL;
o->wglMakeCurrent(o->dc, o->gl); o->wglMakeCurrent(o->dc, o->gl);
@ -498,7 +498,7 @@ static void func_handler(MwWidget handle, const char* name, void* out,
} }
} }
MwClassRec MwOpenGLClassRec = {create, /* create */ MwClassRec MwOpenGLClassRec = {wcreate, /* create */
destroy, /* destroy */ destroy, /* destroy */
NULL, /* draw */ NULL, /* draw */
NULL, /* click */ NULL, /* click */

View file

@ -111,7 +111,7 @@ static void func_handler(MwWidget handle, const char* name, void* out,
@end @end
MwClassRec MwOpenGLClassRec = {create, /* create */ MwClassRec MwOpenGLClassRec = {wcreate, /* create */
destroy, /* destroy */ destroy, /* destroy */
NULL, /* draw */ NULL, /* draw */
NULL, /* click */ NULL, /* click */