Fixe die gemeinsamen Symbole von Client und Refresh

This commit is contained in:
Yamagi Burmeister 2010-10-23 06:54:05 +00:00
parent 3679d302db
commit 0677833560
2 changed files with 4 additions and 4 deletions

View file

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

View file

@ -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 )
{