Add a unified cross platform OpenGL core profile binding (#52)

This commit is contained in:
hecks
2021-08-07 21:56:00 +02:00
committed by GitHub
parent 7709e1e5f8
commit 5bf68b5731
16 changed files with 4466 additions and 22 deletions

View File

@ -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;
}