mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-03-25 04:11:27 +00:00
Fixe die gemeinsamen Symbole von Client und Refresh
This commit is contained in:
parent
3679d302db
commit
0677833560
2 changed files with 4 additions and 4 deletions
|
@ -207,7 +207,7 @@ typedef struct {
|
|||
} refimport_t;
|
||||
|
||||
/* this is the only function actually exported at the linker level */
|
||||
typedef refexport_t (*GetRefAPI_t)(refimport_t);
|
||||
typedef refexport_t (*R_GetRefAPI_t)(refimport_t);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -208,7 +208,7 @@ qboolean
|
|||
VID_LoadRefresh ( char *name )
|
||||
{
|
||||
refimport_t ri;
|
||||
GetRefAPI_t GetRefAPI;
|
||||
R_GetRefAPI_t R_GetRefAPI;
|
||||
char fn [ MAX_OSPATH ];
|
||||
char *path;
|
||||
struct stat st;
|
||||
|
@ -272,12 +272,12 @@ VID_LoadRefresh ( char *name )
|
|||
ri.Vid_MenuInit = VID_MenuInit;
|
||||
ri.Vid_NewWindow = VID_NewWindow;
|
||||
|
||||
if ( ( GetRefAPI = (void *) dlsym( reflib_library, "GetRefAPI" ) ) == 0 )
|
||||
if ( ( R_GetRefAPI = (void *) dlsym( reflib_library, "R_GetRefAPI" ) ) == 0 )
|
||||
{
|
||||
Com_Error( ERR_FATAL, "dlsym failed on %s", name );
|
||||
}
|
||||
|
||||
re = GetRefAPI( ri );
|
||||
re = R_GetRefAPI( ri );
|
||||
|
||||
if ( re.api_version != API_VERSION )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue