all initNativeStub() methods throws LWJGLException

This commit is contained in:
Elias Naur 2004-07-04 13:14:06 +00:00
parent b7e4214a1a
commit 53bd9b660d
60 changed files with 167 additions and 69 deletions

View file

@ -182,9 +182,7 @@ public abstract class AL {
if (contextFrequency == -1) {
context = ALC.alcCreateContext(device.device, null);
} else {
context =
ALC.alcCreateContext(
device.device,
context = ALC.alcCreateContext(device.device,
ALCcontext.createAttributeList(contextFrequency, contextRefresh, contextSynchronized));
}
@ -215,7 +213,7 @@ public abstract class AL {
contextSynchronized = ALC.ALC_FALSE;
created = false;
nDestroy();
nDestroy();
}
/**