Removed commented out releaseContext() from linux Display.cpp

This commit is contained in:
Elias Naur 2004-07-30 13:58:08 +00:00
parent 2e8999c342
commit 0e9931e2a2
1 changed files with 0 additions and 8 deletions

View File

@ -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;