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:
Ray Greenwell
2011-08-17 20:01:30 +00:00
parent 3d5181d81a
commit 5b916735c2
3 changed files with 5 additions and 0 deletions
@@ -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);