diff --git a/FrOSCon26/examples/egl-display.hpp b/FrOSCon26/examples/egl-display.hpp index 941427c..753e423 100644 --- a/FrOSCon26/examples/egl-display.hpp +++ b/FrOSCon26/examples/egl-display.hpp @@ -183,9 +183,10 @@ EglDisplay::openDisplay (Gtk::Window& appWindow) // use lib-GLEW to manage OpenGL extensions (notably GL Shader Language) GLenum glewErr = glewInit(); - if (GLEW_OK != glewErr) - __FAIL ("could not bind OpenGL extensions through lib-GLEW:\n" - +string{reinterpret_cast (glewGetErrorString(glewErr))}); +////////////////////////////////////////////////////////////////////////////////////TODO for some reason I get glewErr == 4 ("unknown error"), but it works non the less +//if (GLEW_OK != glewErr) +// __FAIL ("could not bind OpenGL extensions through lib-GLEW:\n" +// +string{reinterpret_cast (glewGetErrorString(glewErr))}); auto compileShader = [](GLenum kind, string code)