Reverted accidental debug changes

This commit is contained in:
Elias Naur 2004-11-09 11:17:28 +00:00
parent f02e90eb7e
commit 8c41a9b7be
1 changed files with 0 additions and 8 deletions

View File

@ -550,14 +550,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_update
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_swapBuffers JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Win32Display_swapBuffers
(JNIEnv * env, jobject self) (JNIEnv * env, jobject self)
{ {
display_hdc = GetDC(display_hwnd);
if (!applyPixelFormat(display_hdc, pixel_format_index)) {
closeWindow(display_hwnd, display_hdc);
throwException(env, "Could not apply pixel format to window");
return;
}
BOOL result = wglMakeCurrent(display_hdc, display_hglrc);
isDirty = false; isDirty = false;
SwapBuffers(display_hdc); SwapBuffers(display_hdc);
} }