Don't use _WIN32 to detect non-Android platforms.

This commit is contained in:
2016-03-25 21:20:06 -04:00
parent 1bc965d036
commit d3f00b9897
1 changed files with 3 additions and 4 deletions

View File

@ -5,14 +5,13 @@ extern "C"
{
#endif
#ifdef _WIN32
#include <GL/gl.h> /* Header File For The OpenGL Library */
#else
#if defined(ANDROID) || defined(__ANDROID__)
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
typedef unsigned int GLenum;
#else
#include <GL/gl.h> /* Header File For The OpenGL Library */
#endif
#ifndef APIENTRY