Hopefully fixed the Windows build (see issue #921.)

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2014-08-27 08:17:40 -03:00
parent 626701fc2b
commit b59e088d6c
3 changed files with 5 additions and 5 deletions
+4 -1
View File
@@ -33,6 +33,9 @@
// C
#include <cstring>
// For SDL_GL_GetProcAddress.
#include <SDL_video.h>
namespace love
{
namespace graphics
@@ -58,7 +61,7 @@ bool OpenGL::initContext()
if (contextInitialized)
return true;
if (!gladLoadGL())
if (!gladLoadGLLoader(SDL_GL_GetProcAddress))
return false;
initOpenGLFunctions();