aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/COGLES2Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Irrlicht/COGLES2Driver.cpp')
-rw-r--r--source/Irrlicht/COGLES2Driver.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Irrlicht/COGLES2Driver.cpp b/source/Irrlicht/COGLES2Driver.cpp
index a36f911..13a257a 100644
--- a/source/Irrlicht/COGLES2Driver.cpp
+++ b/source/Irrlicht/COGLES2Driver.cpp
@@ -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()