diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/asm/ftola.asm | 3 | ||||
-rw-r--r-- | src/asm/snapvector.asm | 3 | ||||
-rw-r--r-- | src/rend2/tr_init.c | 2 | ||||
-rw-r--r-- | src/renderer/tr_init.c | 2 |
4 files changed, 8 insertions, 2 deletions
diff --git a/src/asm/ftola.asm b/src/asm/ftola.asm index eea9d0e3..321b6b5e 100644 --- a/src/asm/ftola.asm +++ b/src/asm/ftola.asm @@ -21,6 +21,9 @@ ; MASM ftol conversion functions using SSE or FPU ; assume __cdecl calling convention is being used for x86, __fastcall for x64 +.686p +.xmm + IFNDEF idx64 .model flat, c ENDIF diff --git a/src/asm/snapvector.asm b/src/asm/snapvector.asm index 22f9b225..9e61bec6 100644 --- a/src/asm/snapvector.asm +++ b/src/asm/snapvector.asm @@ -24,6 +24,9 @@ ; function prototype: ; void qsnapvector(vec3_t vec) +.686p +.xmm + IFNDEF idx64 .model flat, c ENDIF diff --git a/src/rend2/tr_init.c b/src/rend2/tr_init.c index 2ee6ff32..94b97f8b 100644 --- a/src/rend2/tr_init.c +++ b/src/rend2/tr_init.c @@ -1504,7 +1504,7 @@ GetRefAPI @@@@@@@@@@@@@@@@@@@@@ */ #ifdef USE_RENDERER_DLOPEN -Q_EXPORT refexport_t QDECL *GetRefAPI ( int apiVersion, refimport_t *rimp ) { +Q_EXPORT refexport_t* QDECL GetRefAPI ( int apiVersion, refimport_t *rimp ) { #else refexport_t *GetRefAPI ( int apiVersion, refimport_t *rimp ) { #endif diff --git a/src/renderer/tr_init.c b/src/renderer/tr_init.c index 4b80c922..52c0f45c 100644 --- a/src/renderer/tr_init.c +++ b/src/renderer/tr_init.c @@ -1333,7 +1333,7 @@ GetRefAPI @@@@@@@@@@@@@@@@@@@@@ */ #ifdef USE_RENDERER_DLOPEN -Q_EXPORT refexport_t QDECL *GetRefAPI ( int apiVersion, refimport_t *rimp ) { +Q_EXPORT refexport_t* QDECL GetRefAPI ( int apiVersion, refimport_t *rimp ) { #else refexport_t *GetRefAPI ( int apiVersion, refimport_t *rimp ) { #endif |