From 3f128ca20485c7684892188d3afc959fe61ebac8 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Wed, 23 Nov 2005 15:30:53 +0000 Subject: [PATCH] Linux: Removed redundant global variables from Display.c --- src/native/linux/org_lwjgl_opengl_Display.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/native/linux/org_lwjgl_opengl_Display.c b/src/native/linux/org_lwjgl_opengl_Display.c index 3587e8b0..a6797820 100644 --- a/src/native/linux/org_lwjgl_opengl_Display.c +++ b/src/native/linux/org_lwjgl_opengl_Display.c @@ -73,8 +73,6 @@ static GLXWindow glx_window = None; static Atom delete_atom; static Colormap cmap; static Window current_win; -static int current_height; -static int current_width; static int current_depth; static Visual *current_visual; @@ -376,8 +374,6 @@ static bool createWindow(JNIEnv* env, jint window_mode, X11PeerInfo *peer_info, int attribmask; input_released = false; - current_width = width; - current_height = height; root_win = RootWindow(getDisplay(), getCurrentScreen()); XVisualInfo *vis_info = getVisualInfoFromPeerInfo(env, peer_info); if (vis_info == NULL)