|
|
#1 | |
|
Registered User
Join Date: Oct 2005
Posts: 1
|
The return type for glMapBufferRange in glext.h should be "GLvoid* rather than its current "void". The problem exists in the header shipped with the 185.18.14 and 180.37.05 (OpenGL 3.0/3.1) packages.
glMapBufferRange moved from being an extension to being a core function in OpenGL 3.0. I've attached a patch for the version of glext.h shipped with 185.18.14 that seems to work for me: $ sh NVIDIA-Linux-x86_64-185.18.14-pkg2.run --extract-only Creating directory NVIDIA-Linux-x86_64-185.18.14-pkg2 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 185.18.14......................................... .................................................. .................................................. ............. $ emacs NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/include/GL/glext.h $ diff -u NVIDIA-Linux-x86_64-185.18.14-pkg2/usr/include/GL/glext.h{~,} [output attached] |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jan 2010
Posts: 11
|
I just installed NVIDIA drivers 190.53 and the bug is still not resolved...
|
|
|
|
|
|
|
#3 |
|
NVIDIA Corporation
Join Date: Mar 2005
Posts: 2,487
|
It's fixed in 195.30.
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Jan 2010
Posts: 11
|
OK; in fact it seems that the installation script did not update /usr/include/GL/glext.h.
It was outdated, and a lot of functions from GL3 were not here... Installing the version from opengl.org solved the problem, but still the installer did not update it... |
|
|
|
|
![]() |
| Thread Tools | |
|
|