Dump extension info with debug library

This commit is contained in:
Elias Naur 2002-11-25 20:35:01 +00:00
parent 139e7b4cfb
commit c106ae87c1
1 changed files with 4 additions and 0 deletions

View File

@ -85,6 +85,10 @@ JNIEXPORT jboolean JNICALL Java_org_lwjgl_opengl_BaseGL_nCreate
#endif
return JNI_FALSE;
}
#ifdef _DEBUG
const GLubyte * extensions = glGetString(GL_EXTENSIONS);
printf("Supported extensions: %s\n", extensions);
#endif
return JNI_TRUE;
}