|
From: <ci...@us...> - 2004-02-15 19:49:17
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/glu In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7195/src/java/org/lwjgl/opengl/glu Modified Files: Util.java Log Message: Buffer checking code Index: Util.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/glu/Util.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Util.java 21 Jan 2004 10:06:47 -0000 1.2 +++ Util.java 15 Feb 2004 19:41:51 -0000 1.3 @@ -18,7 +18,7 @@ public class Util { /** temp IntBuffer of one for getting an int from some GL functions */ - private static IntBuffer scratch = createIntBuffer(1); + private static IntBuffer scratch = createIntBuffer(256); /** * Return ceiling of integer division * @param a * @param b * @return int */ |