Search
lxdream.org :: lxdream/src/drivers/video_osx.m :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_osx.m
changeset 1251:b8ab59d39756
prev1236:d93175c36387
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_osx.m Fri Feb 24 21:17:47 2012 +1000
1.2 +++ b/src/drivers/video_osx.m Sat Mar 03 16:11:28 2012 +1000
1.3 @@ -120,7 +120,7 @@
1.4 {
1.5 NSSize size = [self frame].size;
1.6 if( video_width != size.width || video_height != size.height ) {
1.7 - gl_set_video_size(size.width, size.height);
1.8 + gl_set_video_size(size.width, size.height, 0);
1.9 video_nsgl_update();
1.10 }
1.11 pvr2_draw_frame();
.