From: Elias N. <eli...@us...> - 2002-12-19 16:35:38
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl In directory sc8-pr-cvs1:/tmp/cvs-serv17077/src/java/org/lwjgl Modified Files: Display.java Log Message: Moved BaseGL constructor parameters to Display Index: Display.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/Display.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/Display.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Display.java 18 Oct 2002 23:28:04 -0000 1.7 +++ Display.java 19 Dec 2002 16:35:35 -0000 1.8 @@ -81,12 +81,18 @@ * destroyed. * * @param displayMode a display mode to choose + * @param alpha_bits number of alpha bits required + * @param depth_bits number of depth bits required + * @param stencil_bits number of stencil bits required * @param fullscreen whether to create the display fullscreen * @throws Exception if the display mode could not be set * @see #destroy() */ public static void create( DisplayMode displayMode, + int alpha_bits, + int depth_bits, + int stencil_bits, boolean fullscreen) throws Exception { @@ -97,6 +103,9 @@ displayMode.height, displayMode.bpp, displayMode.freq, + alpha_bits, + depth_bits, + stencil_bits, fullscreen)) throw new Exception("Failed to set display mode to " + displayMode); @@ -115,6 +124,9 @@ int height, int bpp, int freq, + int alpha_bits, + int depth_bits, + int stencil_bits, boolean fullscreen); /** |