From 15faa72a3dc0c62576cff80a2cf163d894987dd3 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sat, 3 Aug 2019 03:41:22 +0000 Subject: [PATCH] Fix gles-only builds. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5504 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/glsupp.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/gl/glsupp.h b/engine/gl/glsupp.h index 33ca3edf2..937c5b69f 100644 --- a/engine/gl/glsupp.h +++ b/engine/gl/glsupp.h @@ -933,7 +933,10 @@ typedef void (APIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void); #endif #ifndef GL_LINE -#define GL_LINE 0x1B01 +#define GL_LINE 0x1B01 +#endif +#ifndef GL_POLYGON_OFFSET_LINE +#define GL_POLYGON_OFFSET_LINE 0x2A02 #endif #ifndef GL_SAMPLES_PASSED_ARB