Small bit of clean up in GLES-software.

This commit is contained in:
Ryan Houdek
2012-12-24 09:37:12 -06:00
parent f6ef6fa0d9
commit 296b9b1c16
4 changed files with 21 additions and 31 deletions

View File

@ -29,6 +29,19 @@
#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
#endif
#ifdef USE_GLES
#define TEX2D GL_TEXTURE_2D
#define PREC "highp"
#define TEXTYPE "sampler2D"
#define TEXFUNC "texture2D"
#else
#define TEX2D GL_TEXTURE_RECTANGLE_ARB
#define PREC
#define TEXTYPE "sampler2DRect"
#define TEXFUNC "texture2DRect"
#endif
#ifndef _WIN32
#include <sys/types.h>