diff options
author | Edward Hervey <bilboed@bilboed.com> | 2007-03-14 16:30:19 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2007-03-14 16:30:19 +0000 |
commit | c209a3f8941bd1998332e418989255ac94d9f8e8 (patch) | |
tree | 60171193df008729ff80da576d2d56c9c9e699db /sys/osxvideo/cocoawindow.h | |
parent | a7b2869843b651f6c13e9ce3fbf3648349a745cf (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.h | 1 |
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; |