mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
Fix openglwindows example build on netbsd. (#3008)
not support for pthread_getconcurrency.
This commit is contained in:
parent
b6a9fd8e30
commit
cbff4a0a06
@ -566,8 +566,10 @@ void X11OpenGLWindow::enableOpenGL()
|
||||
//Access pthreads as a workaround for a bug in Linux/Ubuntu
|
||||
//See https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319/+bug/1248642
|
||||
|
||||
#if !defined(__NetBSD__)
|
||||
int i = pthread_getconcurrency();
|
||||
printf("pthread_getconcurrency()=%d\n", i);
|
||||
#endif
|
||||
|
||||
// const GLubyte* ext = glGetString(GL_EXTENSIONS);
|
||||
// printf("GL_EXTENSIONS=%s\n", ext);
|
||||
|
Loading…
Reference in New Issue
Block a user