diff --git a/ref/gl/gl_backend.c b/ref/gl/gl_backend.c index 9f9e0c074..45ad73ebc 100644 --- a/ref/gl/gl_backend.c +++ b/ref/gl/gl_backend.c @@ -687,6 +687,12 @@ void R_ShowTextures( void ) pglTexParameteri( image->target, GL_TEXTURE_COMPARE_MODE_ARB, GL_NONE ); pglBegin( GL_QUADS ); + +#if XASH_GLES +#undef pglTexCoord3f +#define pglTexCoord3f( s, t, u ) pglTexCoord2f( s, t ) // not really correct but it requires nanogl rework +#endif // XASH_GLES + if( image->target == GL_TEXTURE_CUBE_MAP_ARB ) { pglTexCoord3f( 0.75 * cbm_cos - cbm_sin, 0.75 * cbm_sin + cbm_cos, 1.0 );