|
From: Elias N. <eli...@us...> - 2004-04-04 08:49:20
|
Update of /cvsroot/java-game-lib/LWJGL/src/native/linux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12940/src/native/linux Modified Files: org_lwjgl_opengl_Window.cpp Log Message: Fixed compile problems Index: org_lwjgl_opengl_Window.cpp =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/native/linux/org_lwjgl_opengl_Window.cpp,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- org_lwjgl_opengl_Window.cpp 3 Apr 2004 23:01:39 -0000 1.27 +++ org_lwjgl_opengl_Window.cpp 4 Apr 2004 08:36:55 -0000 1.28 @@ -69,7 +69,7 @@ static bool input_released; static bool isUndecorated; -static bool focused; +static bool dirty; static bool vsync_enabled; static bool minimized; static bool focused; @@ -293,7 +293,7 @@ } int convertToBPE(int bpp) { - int bpe = 4; + int bpe; switch (bpp) { case 32: case 24: @@ -301,6 +301,7 @@ break; case 16: /* Fall through */ default: + bpe = 4; break; } return bpe; |