fixes for mac
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
//#pragma once
|
||||
|
||||
#define USE_VBO 0
|
||||
#define USE_VBO 1
|
||||
#define USE_SAMPLER 1
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/gl3.h>
|
||||
#include <sys/stat.h>
|
||||
#define LOG printf
|
||||
#define SHADER_VERSION "#version 300 es\n"
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
|
||||
#define LOG(M,...) printf(M"\n", ##__VA_ARGS__)
|
||||
#define SHADER_VERSION "#version 150\n"
|
||||
|
||||
#elif __ANDROID__
|
||||
#include <EGL/egl.h>
|
||||
|
||||
Reference in New Issue
Block a user