If we're going to call alGetError we may as well make sure it's related
to what we're checking. Right? git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@1177 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -202,6 +202,8 @@ public class SoundManager
|
||||
{
|
||||
_rqueue = rqueue;
|
||||
|
||||
AL10.alGetError(); // throw away any unchecked error prior to an op we want to check
|
||||
|
||||
// initialize the OpenAL sound system
|
||||
try {
|
||||
AL.create("", 44100, 15, false);
|
||||
|
||||
Reference in New Issue
Block a user