Compare commits
1 commit
3a48f3ea12
...
2947344eda
| Author | SHA1 | Date | |
|---|---|---|---|
| 2947344eda |
1 changed files with 4 additions and 3 deletions
|
|
@ -183,9 +183,10 @@ EglDisplay<PIX,WIDTH,HEIGHT>::openDisplay (Gtk::Window& appWindow)
|
||||||
|
|
||||||
// use lib-GLEW to manage OpenGL extensions (notably GL Shader Language)
|
// use lib-GLEW to manage OpenGL extensions (notably GL Shader Language)
|
||||||
GLenum glewErr = glewInit();
|
GLenum glewErr = glewInit();
|
||||||
if (GLEW_OK != glewErr)
|
////////////////////////////////////////////////////////////////////////////////////TODO for some reason I get glewErr == 4 ("unknown error"), but it works non the less
|
||||||
__FAIL ("could not bind OpenGL extensions through lib-GLEW:\n"
|
//if (GLEW_OK != glewErr)
|
||||||
+string{reinterpret_cast<const char*> (glewGetErrorString(glewErr))});
|
// __FAIL ("could not bind OpenGL extensions through lib-GLEW:\n"
|
||||||
|
// +string{reinterpret_cast<const char*> (glewGetErrorString(glewErr))});
|
||||||
|
|
||||||
|
|
||||||
auto compileShader = [](GLenum kind, string code)
|
auto compileShader = [](GLenum kind, string code)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue