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 1076:18c164e8aec4
prev964:f2f3c7612d06
next1134:f502f3d32f90
author nkeynes
date Sun Jan 31 18:35:06 2010 +1000 (14 years ago)
permissions -rw-r--r--
last change Refactor CDROM host support
- Completely separate GDROM hardware (in gdrom/gdrom.c) from generic CDROM
support (now in drivers/cdrom)
- Add concept of 'sector sources' that can be mixed and matched to create
cdrom discs (makes support of arbitrary disc types much simpler)
file annotate diff log raw
1.1 --- a/src/drivers/video_nsgl.m Thu Jan 15 04:15:11 2009 +0000
1.2 +++ b/src/drivers/video_nsgl.m Sun Jan 31 18:35:06 2010 +1000
1.3 @@ -40,9 +40,14 @@
1.4 [nsgl_context setView: view];
1.5 [nsgl_context makeCurrentContext];
1.6 [pool release];
1.7 + driver->swap_buffers = video_nsgl_swap_buffers;
1.8 if( gl_fbo_is_supported() ) {
1.9 gl_fbo_init(driver);
1.10 } else {
1.11 + /* Note there is a 'native' buffer framework, but since all current
1.12 + * Apple drivers appear to support FBO, there's not much point in
1.13 + * doing the work to support them.
1.14 + */
1.15 ERROR( "FBO not supported" );
1.16 return FALSE;
1.17 }
.