Skip to content

Commit

Permalink
Fix build errors when Xcode 12 is used.
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Sep 22, 2020
1 parent 9f62baf commit 6be79bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libraries/glad/glad.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#include <string.h>
#include "glad.hpp"

namespace glad {


#ifdef GLAD_USE_SDL
#include <SDL.h>
Expand All @@ -13,6 +9,10 @@ namespace glad {
#include <assert.h>
#endif

#include "glad.hpp"

namespace glad {

bool gladLoadGL(void) {
#ifdef GLAD_USE_SDL
return gladLoadGLLoader(SDL_GL_GetProcAddress);
Expand Down

0 comments on commit 6be79bd

Please sign in to comment.