mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-07 17:29:56 +01:00
*** empty log message ***
This commit is contained in:
parent
d4aa34e4f5
commit
0b07bb7afb
|
|
@ -617,7 +617,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Display_nCreateWindow(JNIEnv *env,
|
|||
|
||||
BOOL result = wglMakeCurrent(hdc, hglrc);
|
||||
if (!result) {
|
||||
printf("Could not bind context to window %d %d\n", GetLastError(), pixel_format_index);
|
||||
throwException(env, "Could not bind context to window");
|
||||
closeWindow();
|
||||
return;
|
||||
|
|
@ -704,7 +703,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Display_createContext(JNIEnv *env,
|
|||
extgl_InitWGL(env);
|
||||
if (extgl_Extensions.WGL_ARB_pixel_format) {
|
||||
pixel_format_index = findPixelFormatARB(env, pixel_format, NULL, true, true, true);
|
||||
printf("pixel format %d\n", pixel_format_index);
|
||||
wglMakeCurrent(NULL, NULL);
|
||||
wglDeleteContext(hglrc);
|
||||
hglrc = wglCreateContext(hdc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue