mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 15:47:55 +00:00
ref: remove renderer description export, it's unused now
This commit is contained in:
parent
35ff062407
commit
8bb5ec5e26
@ -621,9 +621,6 @@ typedef struct ref_interface_s
|
||||
typedef int (*REFAPI)( int version, ref_interface_t *pFunctionTable, ref_api_t* engfuncs, ref_globals_t *pGlobals );
|
||||
#define GET_REF_API "GetRefAPI"
|
||||
|
||||
typedef void (*REF_HUMANREADABLE_NAME)( char *out, size_t len );
|
||||
#define GET_REF_HUMANREADABLE_NAME "GetRefHumanReadableName"
|
||||
|
||||
#ifdef REF_DLL
|
||||
#define DEFINE_ENGINE_SHARED_CVAR( x, y ) cvar_t *x = NULL;
|
||||
#define DECLARE_ENGINE_SHARED_CVAR( x, y ) extern cvar_t *x;
|
||||
|
@ -512,16 +512,3 @@ int EXPORT GetRefAPI( int version, ref_interface_t *funcs, ref_api_t *engfuncs,
|
||||
|
||||
return REF_API_VERSION;
|
||||
}
|
||||
|
||||
void EXPORT GetRefHumanReadableName( char *out, size_t size )
|
||||
{
|
||||
#if defined XASH_NANOGL
|
||||
Q_strncpy( out, "GLES1(NanoGL)", size );
|
||||
#elif defined XASH_WES
|
||||
Q_strncpy( out, "GLES2(gl-wes-v2)", size );
|
||||
#elif defined XASH_GL4ES
|
||||
Q_strncpy( out, "GLES2(gl4es)", size );
|
||||
#else
|
||||
Q_strncpy( out, "OpenGL", size );
|
||||
#endif
|
||||
}
|
||||
|
@ -582,8 +582,3 @@ int EXPORT GAME_EXPORT GetRefAPI( int version, ref_interface_t *funcs, ref_api_t
|
||||
|
||||
return REF_API_VERSION;
|
||||
}
|
||||
|
||||
void EXPORT GetRefHumanReadableName( char *out, size_t size )
|
||||
{
|
||||
Q_strncpy( out, "Software", size );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user