Remove seemingly-useless casts
This commit is contained in:
parent
81b5a7e789
commit
0c70b1ac31
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ BOOL WindowBackend_OpenGL_CreateWindow(const char *window_title, int *screen_wid
|
|||
glfwMakeContextCurrent(window);
|
||||
|
||||
#ifndef USE_OPENGLES2
|
||||
if (gladLoadGLLoader((GLADloadproc)glfwGetProcAddress))
|
||||
if (gladLoadGLLoader(glfwGetProcAddress))
|
||||
{
|
||||
// Check if the platform supports OpenGL 3.2
|
||||
if (GLAD_GL_VERSION_3_2)
|
||||
|
|
|
@ -43,7 +43,7 @@ BOOL WindowBackend_OpenGL_CreateWindow(const char *window_title, int *screen_wid
|
|||
if (SDL_GL_MakeCurrent(window, context) == 0)
|
||||
{
|
||||
#ifndef USE_OPENGLES2
|
||||
if (gladLoadGLLoader((GLADloadproc)SDL_GL_GetProcAddress))
|
||||
if (gladLoadGLLoader(SDL_GL_GetProcAddress))
|
||||
{
|
||||
// Check if the platform supports OpenGL 3.2
|
||||
if (GLAD_GL_VERSION_3_2)
|
||||
|
|
Loading…
Add table
Reference in a new issue