mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-02 00:00:26 +02:00
Add a unified cross platform OpenGL core profile binding (#52)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user