|
From: <eli...@us...> - 2006-05-13 10:04:00
|
Revision: 2325 Author: elias_naur Date: 2006-05-13 03:03:19 -0700 (Sat, 13 May 2006) ViewCVS: http://svn.sourceforge.net/java-game-lib/?rev=2325&view=rev Log Message: ----------- Linux: Fixed accum color bits when accum_bpp = 0 Modified Paths: -------------- trunk/LWJGL/src/native/linux/context.c Modified: trunk/LWJGL/src/native/linux/context.c =================================================================== --- trunk/LWJGL/src/native/linux/context.c 2006-05-07 10:19:47 UTC (rev 2324) +++ trunk/LWJGL/src/native/linux/context.c 2006-05-13 10:03:19 UTC (rev 2325) @@ -98,6 +98,9 @@ static int convertToBPE(int bpp) { int bpe; switch (bpp) { + case 0: + bpe = 0; + break; case 32: case 24: bpe = 8; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |