Pulled global isUndecorated into function

This commit is contained in:
Elias Naur 2004-04-04 13:24:34 +00:00
parent 7c9f237563
commit ffc4758d6d
1 changed files with 1 additions and 2 deletions

View File

@ -68,7 +68,6 @@ static int current_width;
static bool input_released;
static bool isUndecorated;
static bool dirty;
static bool vsync_enabled;
static bool minimized;
@ -463,7 +462,7 @@ JNIEXPORT void JNICALL Java_org_lwjgl_opengl_Window_nCreate
bool fscreen = false;
if (fullscreen == JNI_TRUE)
fscreen = true;
isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated");
bool isUndecorated = getBooleanProperty(env, "org.lwjgl.opengl.Window.undecorated");
if (!extgl_Open()) {
throwException(env, "Could not load gl libs");