jedioutcast/CODE-mp/null/null_glimp.c

70 lines
1.3 KiB
C
Raw Normal View History

2013-04-04 20:49:50 +00:00
#include "../renderer/tr_local.h"
#ifdef _WIN32
BOOL (WINAPI * qwglSwapIntervalEXT)( int interval );
void (APIENTRY * qglMultiTexCoord2fARB )( GLenum texture, float s, float t );
void (APIENTRY * qglActiveTextureARB )( GLenum texture );
void (APIENTRY * qglClientActiveTextureARB )( GLenum texture );
void (APIENTRY * qglLockArraysEXT)( int, int);
void (APIENTRY * qglUnlockArraysEXT) ( void );
void GLimp_EndFrame( void ) {
}
void GLimp_Init( void )
{
}
void GLimp_Shutdown( void ) {
}
void GLimp_EnableLogging( qboolean enable ) {
}
void GLimp_LogComment( char *comment ) {
}
qboolean QGL_Init( const char *dllname ) {
return qtrue;
}
void QGL_Shutdown( void ) {
}
#else
qboolean ( * qwglSwapIntervalEXT)( int interval );
void ( * qglMultiTexCoord2fARB )( GLenum texture, float s, float t );
void ( * qglActiveTextureARB )( GLenum texture );
void ( * qglClientActiveTextureARB )( GLenum texture );
void ( * qglLockArraysEXT)( int, int);
void ( * qglUnlockArraysEXT) ( void );
void GLimp_EndFrame( void ) {
}
void GLimp_Init( void )
{
}
void GLimp_Shutdown( void ) {
}
void GLimp_EnableLogging( qboolean enable ) {
}
void GLimp_LogComment( char *comment ) {
}
qboolean QGL_Init( const char *dllname ) {
return qtrue;
}
void QGL_Shutdown( void ) {
}
#endif // !WIN32