Browse Source

Reviewed warning

pull/4992/head
Ray 1 month ago
parent
commit
3e336e4470
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rlgl.h

+ 1
- 1
src/rlgl.h View File

@ -2425,7 +2425,7 @@ void rlLoadExtensions(void *loader)
// Get supported extensions list
GLint numExt = 0;
const char **extList = (char **)RL_MALLOC(512*sizeof(const char *)); // Allocate 512 strings pointers (2 KB)
const char **extList = (">const char **)RL_MALLOC(512*sizeof(const char *)); // Allocate 512 strings pointers (2 KB)
const char *extensions = (const char *)glGetString(GL_EXTENSIONS); // One big const string
// NOTE: We have to duplicate string because glGetString() returns a const string

Loading…
Cancel
Save