diff options
author | hecks <42101236+hecktest@users.noreply.github.com> | 2021-08-07 21:56:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-07 21:56:00 +0200 |
commit | 5bf68b5731b1817c31959b8e3adf19a4c2307630 (patch) | |
tree | bcd0af6f07df105882f0353cd610abf00e26fe2e /source/Irrlicht/COpenGLDriver.cpp | |
parent | 7709e1e5f8d8429308ae20d366171fdf6e64bee8 (diff) | |
download | irrlicht-5bf68b5731b1817c31959b8e3adf19a4c2307630.tar.xz |
Add a unified cross platform OpenGL core profile binding (#52)
Diffstat (limited to 'source/Irrlicht/COpenGLDriver.cpp')
-rw-r--r-- | source/Irrlicht/COpenGLDriver.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/Irrlicht/COpenGLDriver.cpp b/source/Irrlicht/COpenGLDriver.cpp index 604bd7e..454f0e3 100644 --- a/source/Irrlicht/COpenGLDriver.cpp +++ b/source/Irrlicht/COpenGLDriver.cpp @@ -20,6 +20,8 @@ #include "COpenGLCoreTexture.h"
#include "COpenGLCoreRenderTarget.h"
+#include "mt_opengl.h"
+
#ifdef _IRR_COMPILE_WITH_SDL_DEVICE_
#include <SDL/SDL.h>
#endif
@@ -80,6 +82,8 @@ bool COpenGLDriver::initDriver() extGlSwapInterval(Params.Vsync ? 1 : 0);
#endif
+ GL.LoadAllProcedures(ContextManager);
+
return true;
}
|