mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 11:01:56 +00:00
Fix for #22706, make NSOpenGLView usable again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26414 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c439e20394
commit
c537e70555
3 changed files with 59 additions and 36 deletions
|
@ -38,16 +38,19 @@
|
|||
NSOpenGLPixelFormat *pixel_format;
|
||||
BOOL attached;
|
||||
}
|
||||
+ (NSOpenGLPixelFormat*)defaultPixelFormat;
|
||||
- (void)clearGLContext;
|
||||
- (void)setOpenGLContext:(NSOpenGLContext*)context;
|
||||
- (NSOpenGLContext*)openGLContext;
|
||||
- (id)initWithFrame:(NSRect)frameRect
|
||||
pixelFormat:(NSOpenGLPixelFormat*)format;
|
||||
- (void) dealloc;
|
||||
- (NSOpenGLPixelFormat*)pixelFormat;
|
||||
- (void)setPixelFormat:(NSOpenGLPixelFormat*)pixelFormat;
|
||||
|
||||
+ (NSOpenGLPixelFormat*) defaultPixelFormat;
|
||||
- (void) clearGLContext;
|
||||
- (void) setOpenGLContext: (NSOpenGLContext*)context;
|
||||
- (NSOpenGLContext*) openGLContext;
|
||||
- (id) initWithFrame: (NSRect)frameRect
|
||||
pixelFormat: (NSOpenGLPixelFormat*)format;
|
||||
- (NSOpenGLPixelFormat*) pixelFormat;
|
||||
- (void) setPixelFormat: (NSOpenGLPixelFormat*)pixelFormat;
|
||||
- (void) reshape;
|
||||
- (void) update;
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_3, GS_API_LATEST)
|
||||
- (void) prepareOpenGL;
|
||||
#endif
|
||||
@end
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue