summaryrefslogtreecommitdiffstats
path: root/examples/opengl/cube/geometryengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/opengl/cube/geometryengine.cpp')
-rw-r--r--examples/opengl/cube/geometryengine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/opengl/cube/geometryengine.cpp b/examples/opengl/cube/geometryengine.cpp
index 3001ed5..c05dde5 100644
--- a/examples/opengl/cube/geometryengine.cpp
+++ b/examples/opengl/cube/geometryengine.cpp
@@ -61,6 +61,8 @@ GeometryEngine::~GeometryEngine()
void GeometryEngine::init()
{
+ initializeGLFunctions();
+
//! [0]
// Generate 2 VBOs
glGenBuffers(2, vboIds);