Implemented OpenGL support on Mac OS X
The OpenGL renderer works without changes, yay! :) --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401982
This commit is contained in:
parent
941ef5db91
commit
79452369ef
16 changed files with 528 additions and 214 deletions
|
@ -26,6 +26,7 @@
|
|||
|
||||
typedef struct SDL_WindowData SDL_WindowData;
|
||||
|
||||
/* *INDENT-OFF* */
|
||||
@interface Cocoa_WindowListener:NSResponder {
|
||||
SDL_WindowData *_data;
|
||||
}
|
||||
|
@ -58,7 +59,10 @@ typedef struct SDL_WindowData SDL_WindowData;
|
|||
-(void) mouseExited:(NSEvent *) theEvent;
|
||||
-(void) keyDown:(NSEvent *) theEvent;
|
||||
-(void) keyUp:(NSEvent *) theEvent;
|
||||
@end struct SDL_WindowData
|
||||
@end
|
||||
/* *INDENT-ON* */
|
||||
|
||||
struct SDL_WindowData
|
||||
{
|
||||
SDL_WindowID windowID;
|
||||
NSWindow *window;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue