#5818 - Modular renderer and Rend2 support for MSVC.

This commit is contained in:
SmileTheory 2013-01-07 20:30:49 -08:00
parent 16952ee08e
commit af77b93597
9 changed files with 2160 additions and 388 deletions

View file

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

View file

@ -24,6 +24,9 @@
; function prototype:
; void qsnapvector(vec3_t vec)
.686p
.xmm
IFNDEF idx64
.model flat, c
ENDIF

View file

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

View file

@ -1324,7 +1324,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