diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/cl_cgame.c | 3 | ||||
-rw-r--r-- | src/client/cl_ui.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/client/cl_cgame.c b/src/client/cl_cgame.c index d30d4ac0..8bf10f6d 100644 --- a/src/client/cl_cgame.c +++ b/src/client/cl_cgame.c @@ -587,6 +587,9 @@ intptr_t CL_CgameSystemCalls( intptr_t *args ) { case CG_R_SETCOLOR: re.SetColor( VMA(1) ); return 0; + case CG_R_SETCLIPREGION: + re.SetClipRegion( VMA(1) ); + return 0; case CG_R_DRAWSTRETCHPIC: re.DrawStretchPic( VMF(1), VMF(2), VMF(3), VMF(4), VMF(5), VMF(6), VMF(7), VMF(8), args[9] ); return 0; diff --git a/src/client/cl_ui.c b/src/client/cl_ui.c index caf55ef0..1be4f9f3 100644 --- a/src/client/cl_ui.c +++ b/src/client/cl_ui.c @@ -820,6 +820,10 @@ intptr_t CL_UISystemCalls( intptr_t *args ) { re.SetColor( VMA(1) ); return 0; + case UI_R_SETCLIPREGION: + re.SetClipRegion( VMA(1) ); + return 0; + case UI_R_DRAWSTRETCHPIC: re.DrawStretchPic( VMF(1), VMF(2), VMF(3), VMF(4), VMF(5), VMF(6), VMF(7), VMF(8), args[9] ); return 0; |