filename | src/drivers/video_nsgl.m |
changeset | 1258:f8a9c0fd2abb |
prev | 1256:a9d29fe74bf3 |
author | nkeynes |
date | Fri Jul 13 21:05:10 2012 +1000 (11 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/video_nsgl.m Sun Mar 04 21:10:12 2012 +10001.2 +++ b/src/drivers/video_nsgl.m Fri Jul 13 21:05:10 2012 +10001.3 @@ -43,19 +43,7 @@1.4 driver->swap_buffers = video_nsgl_swap_buffers;1.5 driver->capabilities.has_gl = TRUE;1.6 driver->capabilities.depth_bits = 24;1.7 - if( gl_fbo_is_supported() ) {1.8 - gl_fbo_init(driver);1.9 - } else {1.10 - /* Note there is a 'native' buffer framework, but since all current1.11 - * Apple drivers appear to support FBO, there's not much point in1.12 - * doing the work to support them.1.13 - */1.14 - ERROR( "FBO not supported" );1.15 - return FALSE;1.16 - }1.17 - gl_vbo_init(driver);1.18 - glsl_init(driver);1.19 -1.20 + gl_init_driver(driver, TRUE);1.21 return TRUE;1.22 }
.