Search
lxdream.org :: lxdream/src/drivers/video_nsgl.m :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_nsgl.m
changeset 1251:b8ab59d39756
prev1159:580436b01b6c
next1256:a9d29fe74bf3
author nkeynes
date Sat Mar 03 16:11:28 2012 +1000 (9 years ago)
permissions -rw-r--r--
last change Support depth component 16 as well as 24 (add capability flag for the available bits)
Put remaining TODOs inside HAVE_OPENGL_FIXEDFUNC blocks
Add swap-buffer calls for EGL (does not appear to support rendering directly
to front-buffer)
file annotate diff log raw
1.1 --- a/src/drivers/video_nsgl.m Wed Jan 19 17:50:09 2011 +1000
1.2 +++ b/src/drivers/video_nsgl.m Sat Mar 03 16:11:28 2012 +1000
1.3 @@ -42,6 +42,7 @@
1.4 [pool release];
1.5 driver->swap_buffers = video_nsgl_swap_buffers;
1.6 driver->capabilities.has_gl = TRUE;
1.7 + driver->capabilities.depth_bits = 24;
1.8 if( gl_fbo_is_supported() ) {
1.9 gl_fbo_init(driver);
1.10 } else {
.