revision 1289:ef8b0ddb8185
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 1289:ef8b0ddb8185 |
parent | 1288:fdb8f59143c7 |
child | 1290:b41d4dc2c83e |
author | nkeynes |
date | Fri Jul 13 21:05:10 2012 +1000 (9 years ago) |
Add check that glGenFencesNV is actually defined, to try to guard against
installations with a broken libGL
installations with a broken libGL
1.1 --- a/src/drivers/gl_vbo.c Wed Jul 04 12:01:31 2012 +10001.2 +++ b/src/drivers/gl_vbo.c Fri Jul 13 21:05:10 2012 +10001.3 @@ -260,7 +260,8 @@1.5 #ifdef GL_VERTEX_ARRAY_RANGE_NV1.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;
.