summaryrefslogtreecommitdiffstats
path: root/sys/osxvideo/cocoawindow.h
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-03-14 16:30:19 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-03-14 16:30:19 +0000
commitc209a3f8941bd1998332e418989255ac94d9f8e8 (patch)
tree60171193df008729ff80da576d2d56c9c9e699db /sys/osxvideo/cocoawindow.h
parenta7b2869843b651f6c13e9ce3fbf3648349a745cf (diff)
sys/osxvideo/: Fix leaks when running a NSApp.
Original commit message from CVS: * sys/osxvideo/cocoawindow.h: * sys/osxvideo/cocoawindow.m: * sys/osxvideo/osxvideosink.h: * sys/osxvideo/osxvideosink.m: Fix leaks when running a NSApp. Accept any kind of resolutions. Works in fullscreen. Can maximize. Only thing left before being able to move this to -good is documentation and embedded window support.
Diffstat (limited to 'sys/osxvideo/cocoawindow.h')
-rw-r--r--sys/osxvideo/cocoawindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/osxvideo/cocoawindow.h b/sys/osxvideo/cocoawindow.h
index f479c995..340bd160 100644
--- a/sys/osxvideo/cocoawindow.h
+++ b/sys/osxvideo/cocoawindow.h
@@ -43,6 +43,7 @@ struct _GstOSXImage;
int width, height;
BOOL fullscreen;
NSOpenGLContext* fullScreenContext;
+ NSOpenGLContext* actualContext;
}
- (void) drawQuad;
- (void) drawRect: (NSRect) rect;