mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-12-24 18:31:51 +00:00
Get graphics working again on Mac and add another snide Android compiler warning =P
This commit is contained in:
parent
d657ab8c46
commit
2855d15f9b
@ -21,13 +21,19 @@
|
|||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#import <CoreFoundation/CoreFoundation.h>
|
#import <CoreFoundation/CoreFoundation.h>
|
||||||
|
#define USE_VAO 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO: implement 3D CRT object, possibly with perspective drawing?
|
// TODO: implement 3D CRT object, possibly with perspective drawing?
|
||||||
#define PERSPECTIVE 0
|
#define PERSPECTIVE 0
|
||||||
|
|
||||||
// VAO optimization (may not be available on all platforms)
|
// VAO optimization (may not be available on all platforms)
|
||||||
|
#ifdef ANDROID
|
||||||
|
#warning YAY Awesome! Various older Android and Android-ish devices (*cough* Kindle *cough*) have buggy OpenGL VAO support, so do like Nancy and just say no
|
||||||
#define USE_VAO 0
|
#define USE_VAO 0
|
||||||
|
#elif !defined(USE_VAO)
|
||||||
|
#define USE_VAO 1
|
||||||
|
#endif
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
POS_ATTRIB_IDX,
|
POS_ATTRIB_IDX,
|
||||||
|
Loading…
Reference in New Issue
Block a user