Compare commits
2 commits
a7c57e98ce
...
dc2983e99a
| Author | SHA1 | Date | |
|---|---|---|---|
| dc2983e99a | |||
| 968501a111 |
2 changed files with 4 additions and 3 deletions
Binary file not shown.
|
|
@ -183,9 +183,10 @@ EglDisplay<PIX,WIDTH,HEIGHT>::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<const char*> (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<const char*> (glewGetErrorString(glewErr))});
|
||||
|
||||
|
||||
auto compileShader = [](GLenum kind, string code)
|
||||
|
|
|
|||
Loading…
Reference in a new issue