probably it is better to do this way

This commit is contained in:
Nishi 2026-04-16 10:47:24 +09:00
commit 712a640f9d

View file

@ -381,7 +381,7 @@ static void mwOpenGLMakeCurrentImpl(MwWidget handle) {
#ifdef USE_GDI
if(handle->lowlevel->common.type == MwLLBackendGDI) {
gdiopengl_t* o = handle->internal;
int (__stdcall *swap_interval_ext)(int) = NULL;
BOOL (APIENTRY *swap_interval_ext)(int) = NULL;
o->wglMakeCurrent(o->dc, o->gl);