mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Hopefully fixed the Windows build (see issue #921.)
--HG-- branch : minor
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user