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

@ -29,6 +29,8 @@
#include "android_native_app_glue.h"
#endif
#include "mt_opengl.h"
namespace irr
{
namespace video
@ -76,6 +78,7 @@ COGLES2Driver::COGLES2Driver(const SIrrlichtCreationParameters& params, io::IFil
ContextManager->generateContext();
ExposedData = ContextManager->getContext();
ContextManager->activateContext(ExposedData, false);
GL.LoadAllProcedures(ContextManager);
}
COGLES2Driver::~COGLES2Driver()