Compare commits
No commits in common. "compat/hiv" and "master" have entirely different histories.
compat/hiv
...
master
1 changed files with 3 additions and 4 deletions
|
|
@ -183,10 +183,9 @@ 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();
|
||||||
////////////////////////////////////////////////////////////////////////////////////TODO for some reason I get glewErr == 4 ("unknown error"), but it works non the less
|
if (GLEW_OK != glewErr)
|
||||||
//if (GLEW_OK != glewErr)
|
__FAIL ("could not bind OpenGL extensions through lib-GLEW:\n"
|
||||||
// __FAIL ("could not bind OpenGL extensions through lib-GLEW:\n"
|
+string{reinterpret_cast<const char*> (glewGetErrorString(glewErr))});
|
||||||
// +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