1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
#ifndef _H_os_gl_pre
#define _H_os_gl_pre
#include"os_predef.h"
#include"os_proprietary.h"
#if defined(_PYMOL_IOS) || defined(ANDROID)
#define PURE_OPENGL_ES
#define _PYMOL_PURE_OPENGL_ES
#define _PYMOL_CGO_DRAWARRAYS
#define _PYMOL_GL_DRAWARRAYS
#define _PYMOL_CGO_DRAWBUFFERS
#if !defined(OPENGL_ES_1) && !defined(OPENGL_ES_2)
#define OPENGL_ES_1
#endif
#endif
#if !defined(OPENGL_ES_1) && !defined(OPENGL_ES_2)
#define OPENGL_ES_1 1
#endif
#if defined(_PYMOL_PURE_OPENGL_ES) && defined(OPENGL_ES_2)
#define PURE_OPENGL_ES_2 1
#endif
#if defined(_PYMOL_PURE_OPENGL_ES) && !defined(_PYMOL_GL_DRAWARRAYS)
#define _PYMOL_GL_DRAWARRAYS
#endif
#endif
|