load gl with egl not glx
This commit is contained in:
1 parent
6e828688e7
commit
5dbf2373ad
1 file changed
+1
-1
@@ -207,7 +207,7 @@ void EGLOpenGLWindow::createWindow(const b3gWindowConstructionInfo& ci) {
|
||||
m_data->egl_context);
|
||||
printf("Finish creating EGL OpenGL window.\n");
|
||||
|
||||
if (!gladLoadGLInternalLoader()) {
|
||||
if (!gladLoadGL(eglGetProcAddress)) {
|
||||
fprintf(stderr, "failed to GL with glad.\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user