- Made GLSL features a compiling option...sort of

This commit is contained in:
leilei-
2016-05-09 03:55:16 -04:00
parent 2d555ac662
commit 95dec7a204
8 changed files with 146 additions and 42 deletions

View File

@@ -37,6 +37,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define GL_INDEX_TYPE GL_UNSIGNED_INT
typedef unsigned int glIndex_t;
// Lousy hack
#define GLSL_POSTPROCESS 1
#define GLSL_TEXTURES 1
#define GLSL_BACKEND 1
// 14 bits
// can't be increased without changing bit packing for drawsurfs
// see QSORT_SHADERNUM_SHIFT