filename | src/drivers/video_osx.m |
changeset | 1236:d93175c36387 |
prev | 1086:29776415438d |
next | 1251:b8ab59d39756 |
author | nkeynes |
date | Tue Feb 28 18:22:52 2012 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Add a GL-only video driver for android usage (since the Java code is responsible for creating the context) |
file | annotate | diff | log | raw |
1.1 --- a/src/drivers/video_osx.m Fri Dec 04 08:44:02 2009 +10001.2 +++ b/src/drivers/video_osx.m Tue Feb 28 18:22:52 2012 +10001.3 @@ -53,8 +53,6 @@1.6 static NSView *video_view = NULL;1.7 -int video_width = 640;1.8 -int video_height = 480;1.10 #define MAX_MASK_KEYCODE 1281.12 @@ -122,8 +120,7 @@1.13 {1.14 NSSize size = [self frame].size;1.15 if( video_width != size.width || video_height != size.height ) {1.16 - video_width = size.width;1.17 - video_height = size.height;1.18 + gl_set_video_size(size.width, size.height);1.19 video_nsgl_update();1.20 }1.21 pvr2_draw_frame();
.