fix: update to spec recommendation (alcMakeContextCurrent before destroy)
This commit is contained in:
parent
8d51bb4b8e
commit
cbd9de092d
|
@ -147,6 +147,7 @@ public class PlayTest extends BasicTest {
|
||||||
|
|
||||||
//no errorchecking from now on, since our context is gone.
|
//no errorchecking from now on, since our context is gone.
|
||||||
//shutdown
|
//shutdown
|
||||||
|
alc.makeContextCurrent(null);
|
||||||
alc.destroyContext(context);
|
alc.destroyContext(context);
|
||||||
alc.closeDevice(device);
|
alc.closeDevice(device);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue