fix gdi opengl
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
Nishi 2026-04-16 10:45:53 +09:00
commit 4e4da8659e

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;
void (*swap_interval_ext)(int) = NULL;
int (__stdcall *swap_interval_ext)(int) = NULL;
o->wglMakeCurrent(o->dc, o->gl);