Merge branch 'master' into clipboard
This commit is contained in:
commit
62fd2adcd1
2 changed files with 4 additions and 4 deletions
|
|
@ -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 */
|
||||||
|
|
|
||||||
|
|
@ -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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue