Skip to content

Commit c4d7588

Browse files
committed
tweak import logic
Signed-off-by: Michael Pollind <[email protected]>
1 parent 1750e3b commit c4d7588

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/qcommon/mod_mem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void Q_LinkToPool( void *ptr, mempool_t *pool ) { return mem_import.Q_LinkToPool
6262
void Q_FreePool( mempool_t *pool ) {mem_import.Q_FreePool(pool);}
6363
void Q_EmptyPool( mempool_t *pool ) {mem_import.Q_EmptyPool(pool);}
6464

65-
static inline void Q_LoadMemModule(const struct mem_import_s* mem) {
65+
static inline void Q_ImportMemModule(const struct mem_import_s* mem) {
6666
mem_import = *mem;
6767
}
6868
#endif

source/ref_gl/r_public.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ QF_DLL_EXPORT ref_export_t *GetRefAPI( ref_import_t *import )
5454
{
5555
static ref_export_t globals;
5656
fs_import = *import->fsImport;
57-
Q_LoadMemModule(import->memImport);
57+
Q_ImportMemModule(import->memImport);
5858

5959
ri = *import;
6060

0 commit comments

Comments
 (0)