aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/native/macosx/MacOSXWindowSystemInterface.h
blob: 3625cfbde4d9e3432950111c70ce130eb659e9c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#import <Cocoa/Cocoa.h>
#import <OpenGL/gl.h>
#import <OpenGL/CGLTypes.h>
#import <jni.h>

// #define VERBOSE_ON 1

#ifdef VERBOSE_ON
    // #define DBG_PRINT(...) NSLog(@ ## __VA_ARGS__)
    #define DBG_PRINT(...) fprintf(stderr, __VA_ARGS__); fflush(stderr)
#else
    #define DBG_PRINT(...)
#endif

#ifndef CGL_VERSION_1_3
    #warning this SDK doesn't support OpenGL profile
#endif

#import "macosx-window-system.h"