Browse Source

ref: add EXPORT to GetRefAPI, so MSVC will create *.lib file and not confuse waf or dynamic linker

pull/2/head
Alibek Omarov 5 years ago
parent
commit
402a596415
  1. 2
      ref_gl/gl_context.c

2
ref_gl/gl_context.c

@ -539,7 +539,7 @@ ref_interface_t gReffuncs = @@ -539,7 +539,7 @@ ref_interface_t gReffuncs =
VGUI_GenerateTexture,
};
int GAME_EXPORT GetRefAPI( int version, ref_interface_t *funcs, ref_api_t *engfuncs, ref_globals_t *globals )
int EXPORT GetRefAPI( int version, ref_interface_t *funcs, ref_api_t *engfuncs, ref_globals_t *globals )
{
if( version != REF_API_VERSION )
return 0;

Loading…
Cancel
Save