Browse Source

ref_gl: bring back GL_STATIC option

pull/2/head
Alibek Omarov 6 years ago
parent
commit
ea6a86a83d
  1. 2
      ref_gl/gl_backend.c
  2. 1415
      ref_gl/gl_export.h

2
ref_gl/gl_backend.c

@ -264,7 +264,9 @@ void GL_MultiTexCoord2f( GLenum texture, GLfloat s, GLfloat t )
if( !GL_Support( GL_ARB_MULTITEXTURE )) if( !GL_Support( GL_ARB_MULTITEXTURE ))
return; return;
#ifndef XASH_GL_STATIC
if( pglMultiTexCoord2f != NULL ) if( pglMultiTexCoord2f != NULL )
#endif
pglMultiTexCoord2f( texture + GL_TEXTURE0_ARB, s, t ); pglMultiTexCoord2f( texture + GL_TEXTURE0_ARB, s, t );
} }

1415
ref_gl/gl_export.h

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save