瀏覽代碼

GLAD only available on PLATFORM_DESKTOP

pull/83/head
raysan5 9 年之前
父節點
當前提交
c00062655f
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      src/core.c

+ 2
- 0
src/core.c 查看文件

@ -1427,6 +1427,7 @@ static void InitDisplay(int width, int height)
glfwMakeContextCurrent(window);
#if defined(PLATFORM_DESKTOP)
// Extensions initialization for OpenGL 3.3
if (rlGetVersion() == OPENGL_33)
{
@ -1458,6 +1459,7 @@ static void InitDisplay(int width, int height)
//if (GLAD_GL_ARB_vertex_array_object) // Use GL_ARB_vertex_array_object
#endif
}
#endif
// Enables GPU v-sync, so frames are not limited to screen refresh rate (60Hz -> 60 FPS)
// If not set, swap interval uses GPU v-sync configuration

Loading…
取消
儲存