pybullet: added EGL render device and window_backend option.
EGL review. EGL dynamic loading, windowType to int moved to glad2 Require GL 3.3 as GLInstancingRenderer.cpp uses glVertexAttribDivisor glad2 update with dynamic X11 added removed old file build fix fix mac/win EGL w/o c++11, off by default fix premake fixup: premake fix 2
This commit is contained in:
@@ -84,8 +84,8 @@ void Win32OpenGLWindow::createWindow(const b3gWindowConstructionInfo& ci)
|
||||
//VideoDriver = video::createOpenGLDriver(CreationParams, FileSystem, this);
|
||||
enableOpenGL();
|
||||
|
||||
if(!gladLoadGL()) {
|
||||
printf("gladLoadGL failed!\n");
|
||||
if(!gladLoadGLInternalLoader()) {
|
||||
printf("gladLoadGLInternalLoader failed!\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
@@ -195,4 +195,4 @@ int Win32OpenGLWindow::getHeight() const
|
||||
|
||||
#endif
|
||||
|
||||
#endif //B3_USE_GLFW
|
||||
#endif //B3_USE_GLFW
|
||||
|
||||
Reference in New Issue
Block a user