Search
lxdream.org :: lxdream/src/drivers/gl_vbo.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/gl_vbo.c
changeset 1289:ef8b0ddb8185
prev1164:01b45ca393c6
next1298:d0eb2307b847
author nkeynes
date Fri Jul 13 21:05:10 2012 +1000 (8 years ago)
permissions -rw-r--r--
last change Add check that glGenFencesNV is actually defined, to try to guard against
installations with a broken libGL
file annotate diff log raw
1.1 --- a/src/drivers/gl_vbo.c Sat Jan 22 06:07:17 2011 +1000
1.2 +++ b/src/drivers/gl_vbo.c Fri Jul 13 21:05:10 2012 +1000
1.3 @@ -260,7 +260,8 @@
1.4
1.5 #ifdef GL_VERTEX_ARRAY_RANGE_NV
1.6 if( isGLExtensionSupported("GL_NV_vertex_array_range") &&
1.7 - isGLExtensionSupported("GL_NV_fence") ) {
1.8 + isGLExtensionSupported("GL_NV_fence") &&
1.9 + glGenFencesNV ) {
1.10 glEnableClientState( GL_VERTEX_ARRAY_RANGE_NV );
1.11 driver->create_vertex_buffer = nv_create_buffer;
1.12 return;
.