|
From: Elias N. <eli...@us...> - 2003-03-24 11:56:08
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal In directory sc8-pr-cvs1:/tmp/cvs-serv22996/src/java/org/lwjgl/test/openal Modified Files: ALTest.java Log Message: Fixed Brian's bugs Index: ALTest.java CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/ALTest.java =================================================================== RCS file: /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/test/openal/ALTest.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ALTest.java 21 Dec 2002 12:37:20 -0000 1.4 +++ ALTest.java 24 Mar 2003 11:56:04 -0000 1.5 @@ -298,6 +298,10 @@ // Initialize Open AL manually //Open device device = alc.openDevice(null); + if (device == null) { + System.out.println("Could not create ALC device"); + System.exit(-1); + } //Create context(s) context = alc.createContext(device, 0); //Set active context |