diff options
Diffstat (limited to 'src/video_out/macosx/video_window.h')
-rw-r--r-- | src/video_out/macosx/video_window.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/video_out/macosx/video_window.h b/src/video_out/macosx/video_window.h index 44b157f00..b6b79a75d 100644 --- a/src/video_out/macosx/video_window.h +++ b/src/video_out/macosx/video_window.h @@ -22,8 +22,6 @@ #ifndef HAVE_VIDEO_WINDOW_H #define HAVE_VIDEO_WINDOW_H -#import <Cocoa/Cocoa.h> - typedef enum { XINE_FULLSCREEN_OVERSCAN, XINE_FULLSCREEN_CROP @@ -33,13 +31,14 @@ typedef enum { @interface XineOpenGLView : NSOpenGLView { IBOutlet id delegate; int video_width, video_height; - char * texture_buffer; + char *texture_buffer; unsigned long i_texture; BOOL initDone; BOOL isFullScreen; XineVideoWindowFullScreenMode fullscreen_mode; - NSOpenGLContext * fullScreenContext; - NSOpenGLContext * currentContext; + NSOpenGLContext *fullScreenContext; + NSOpenGLContext *currentContext; + NSLock *mutex; } - (void) displayTexture; |