瀏覽代碼

this should work

pull/110/head
Joshua Reisenauer 9 年之前
父節點
當前提交
f707c1ca46
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. +1
    -1
      src/audio.c
  2. +3
    -2
      src/raylib.h

+ 1
- 1
src/audio.c 查看文件

@ -820,7 +820,7 @@ void UpdateMusicStream(void)
// Add refilled buffer to queue again... don't let the music stop!
alSourceQueueBuffers(currentMusic.source, 1, &buffer);
if (alGetError() != AL_NO_ERROR) TraceLog(WARNING, "Ogg playing, error buffering data...");
if (alGetError() != AL_NO_ERROR) TraceLog(WARNING, "Error buffering data...");
processed--;
}

+ 3
- 2
src/raylib.h 查看文件

@ -261,8 +261,9 @@
//----------------------------------------------------------------------------------
#ifndef __cplusplus
// Boolean type
#include <stdbool.h>
//typedef enum { false, true } bool;
#ifndef true
typedef enum { false, true } bool;
#endif
#endif
// byte type

Loading…
取消
儲存