From 0e9931e2a2b43555b99a846ad2c5f86910eab28a Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Fri, 30 Jul 2004 13:58:08 +0000 Subject: [PATCH] Removed commented out releaseContext() from linux Display.cpp --- src/native/linux/org_lwjgl_opengl_Display.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/native/linux/org_lwjgl_opengl_Display.cpp b/src/native/linux/org_lwjgl_opengl_Display.cpp index 45507d22..4106f15f 100644 --- a/src/native/linux/org_lwjgl_opengl_Display.cpp +++ b/src/native/linux/org_lwjgl_opengl_Display.cpp @@ -387,13 +387,6 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Display_nMakeCurrent throwException(env, "Could not make display context current"); } -/*static void releaseContext(void) { - if (USEGLX13) - glXMakeContextCurrent(getDisplay(), None, None, NULL); - else - glXMakeCurrent(getDisplay(), None, NULL); -} -*/ int convertToBPE(int bpp) { int bpe; switch (bpp) { @@ -531,7 +524,6 @@ static void dumpVisualInfo(XVisualInfo *vis_info) { } static void destroyContext(void) { -// releaseContext(); if (USEGLX13) { XFree(configs); configs = NULL;