rename gles2.h -> glad_gles2.h

This commit is contained in:
Go Watanabe 2023-01-04 11:48:07 +09:00
parent 60f5ec0421
commit 7349813859
4 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
#if defined(PLATFORM_DESKTOP)
#if defined(GRAPHICS_API_OPENGL_ES2)
#include "gles2.h" // Required for: OpenGL functionality
#include "glad_gles2.h" // Required for: OpenGL functionality
#define glGenVertexArrays glGenVertexArraysOES
#define glBindVertexArray glBindVertexArrayOES
#define glDeleteVertexArrays glDeleteVertexArraysOES

View File

@ -792,7 +792,7 @@ RLAPI void rlLoadDrawQuad(void); // Load and draw a quad
#if defined(PLATFORM_DESKTOP)
#define GLAD_GLES2_IMPLEMENTATION
#include "external/gles2.h"
#include "external/glad_gles2.h"
#else
#define GL_GLEXT_PROTOTYPES
//#include <EGL/egl.h> // EGL library -> not required, platform layer