diff options
Diffstat (limited to 'src/native/ogl/OglCheck.c')
-rw-r--r-- | src/native/ogl/OglCheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/native/ogl/OglCheck.c b/src/native/ogl/OglCheck.c index 866612c..d72626d 100644 --- a/src/native/ogl/OglCheck.c +++ b/src/native/ogl/OglCheck.c @@ -391,8 +391,8 @@ Java_javax_media_j3d_NativePipeline_getSupportedOglVendorNative( } /* Destroy all dummy objects */ - ReleaseDC(hwnd, hdc); wglDeleteContext(hrc); + ReleaseDC(hwnd, hdc); DestroyWindow(hwnd); UnregisterClass(szAppName, (HINSTANCE)NULL); |