mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
reverted the trap_R_AddRefEntityToScene syscall changes to avoid engine/mod coupling
This commit is contained in:
parent
02589839cd
commit
bc83712ec6
2 changed files with 2 additions and 4 deletions
|
@ -33,7 +33,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
|
||||
dllSyscall_t syscall = (dllSyscall_t)-1;
|
||||
extern int cg_addRefEntSyscallId;
|
||||
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
@ -246,7 +245,7 @@ void trap_R_ClearScene( void ) {
|
|||
}
|
||||
|
||||
void trap_R_AddRefEntityToScene( const refEntity_t *re ) {
|
||||
syscall( cg_addRefEntSyscallId, re );
|
||||
syscall( CG_R_ADDREFENTITYTOSCENE, re );
|
||||
}
|
||||
|
||||
void trap_R_AddPolyToScene( qhandle_t hShader , int numVerts, const polyVert_t *verts ) {
|
||||
|
|
|
@ -33,7 +33,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
|
||||
dllSyscall_t syscall = (dllSyscall_t)-1;
|
||||
extern int ui_addRefEntSyscallId;
|
||||
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
@ -151,7 +150,7 @@ void trap_R_ClearScene( void ) {
|
|||
}
|
||||
|
||||
void trap_R_AddRefEntityToScene( const refEntity_t *re ) {
|
||||
syscall( ui_addRefEntSyscallId, re );
|
||||
syscall( UI_R_ADDREFENTITYTOSCENE, re );
|
||||
}
|
||||
|
||||
void trap_R_AddPolyToScene( qhandle_t hShader , int numVerts, const polyVert_t *verts ) {
|
||||
|
|
Loading…
Reference in a new issue