mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-22 02:19:45 +00:00
FIX: OpenAL error loop
This commit is contained in:
parent
6f4a07a306
commit
002bb40aae
1 changed files with 3 additions and 6 deletions
|
|
@ -10,13 +10,10 @@
|
|||
static const char* errIdString = 0;
|
||||
|
||||
void checkError() {
|
||||
ALenum err = alGetError();
|
||||
if(err == AL_NO_ERROR) return;
|
||||
|
||||
while (1) {
|
||||
ALenum err = alGetError();
|
||||
if(err == AL_NO_ERROR) return;
|
||||
|
||||
LOGI("### SoundSystemAL error: %d ####: %s\n", err, errIdString==0?"(none)":errIdString);
|
||||
}
|
||||
LOGI("### SoundSystemAL error: %d ####: %s\n", err, errIdString==0?"(none)":errIdString);
|
||||
}
|
||||
|
||||
//typedef ALvoid AL_APIENTRY (*alBufferDataStaticProcPtr) (const ALint bid, ALenum format, ALvoid *data, ALsizei size, ALsizei freq);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue