瀏覽代碼

Fix building of raylib_opengl_interop on PLATFORM_DESKTOP_SDL (#3826)

I tested this with CMake. I don't know if the examples makefile
currently handles this case.
pull/3839/head
Peter0x44 11 月之前
committed by GitHub
父節點
當前提交
1df91e74b9
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      examples/others/raylib_opengl_interop.c

+ 2
- 2
examples/others/raylib_opengl_interop.c 查看文件

@ -26,7 +26,7 @@
#include "raylib.h"
#if defined(PLATFORM_DESKTOP)
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_DESKTOP_SDL)
#if defined(GRAPHICS_API_OPENGL_ES2)
#include "glad_gles2.h" // Required for: OpenGL functionality
#define glGenVertexArrays glGenVertexArraysOES
@ -163,4 +163,4 @@ int main(void)
//--------------------------------------------------------------------------------------
return 0;
}
}

Loading…
取消
儲存