diff --git a/tests/src/mocks/generation/Create_openGL_mock.py b/tests/src/mocks/generation/Create_openGL_mock.py
index 07c1944f1a3092d356c28ca23dee79d73bf1e640..fa0528aac34cb37a0ccaf20aa4d114cbf4f89eac 100644
--- a/tests/src/mocks/generation/Create_openGL_mock.py
+++ b/tests/src/mocks/generation/Create_openGL_mock.py
@@ -22,7 +22,8 @@
 import sys, getopt
 
 #functions you want to mock should be put in this list
-functions_to_mock = ['__glewBindAttribLocation',
+functions_to_mock = ['__glewActiveTexture',
+                     '__glewBindAttribLocation',
                      '__glewBindBuffer', '__glewBindBufferBase',
                      '__glewBindBufferRange', '__glewBindFragDataLocation',
                      '__glewBindFragDataLocationIndexed',