static void toggle_wire(void)
{
-#ifndef CONF_OPENGLES
+#if !ENABLE_OPENGLES
static int wire = 0;
if (wire)
static void toggle_wire(void)
{
-#ifndef CONF_OPENGLES
+#if !ENABLE_OPENGLES
static int wire = 0;
if (wire)
/*---------------------------------------------------------------------------*/
-#ifndef CONF_OPENGLES
+#if !ENABLE_OPENGLES
PFNGLCLIENTACTIVETEXTURE_PROC glClientActiveTexture_;
PFNGLACTIVETEXTURE_PROC glActiveTexture_;
void glext_init(void)
{
-#ifndef CONF_OPENGLES
+#if !ENABLE_OPENGLES
void *ptr;
void glClipPlane4f(GLenum p, GLfloat a, GLfloat b, GLfloat c, GLfloat d)
{
-#ifdef CONF_OPENGLES
+#if ENABLE_OPENGLES
GLfloat v[4];
defined(GL_VERSION_ES_CM_1_1) || \
defined(GL_OES_VERSION_1_0)
-#define CONF_OPENGLES 1
+#define ENABLE_OPENGLES 1
#define glClientActiveTexture_ glClientActiveTexture
#define glActiveTexture_ glActiveTexture
extern PFNGLPOINTPARAMETERFV_PROC glPointParameterfv_;
/*---------------------------------------------------------------------------*/
-#endif /* !CONF_OPENGLES */
+#endif /* !ENABLE_OPENGLES */
void glClipPlane4f(GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
/* Environment mapping. */
-#ifndef CONF_OPENGLES
+#if !ENABLE_OPENGLES
if ((mp_base->fl & M_ENVIRONMENT) ^ (mq_base->fl & M_ENVIRONMENT))
{
if (mp_base->fl & M_ENVIRONMENT)
glEnable(GL_LIGHTING);
glEnable(GL_BLEND);
-#ifndef CONF_OPENGLES
+#if !ENABLE_OPENGLES
glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL,
GL_SEPARATE_SPECULAR_COLOR);
#endif