ref: remove renderer description export, it's unused now

This commit is contained in:
Alibek Omarov 2023-03-24 02:54:14 +03:00
parent 35ff062407
commit 8bb5ec5e26
3 changed files with 0 additions and 21 deletions

View File

@ -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;

View File

@ -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
}

View File

@ -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 );
}