From ef270eb642a99b8629f81f2c8c3aaad301357e68 Mon Sep 17 00:00:00 2001 From: mittorn Date: Mon, 4 Nov 2019 22:12:09 +0700 Subject: [PATCH] ref_soft: update ref api --- r_glblit.c | 2 +- r_local.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/r_glblit.c b/r_glblit.c index 6d97c815..4a50f3d8 100644 --- a/r_glblit.c +++ b/r_glblit.c @@ -13,7 +13,7 @@ struct swblit_s } swblit; -qboolean R_SetDisplayTransform( uint rotate, int offset_x, int offset_y, float scale_x, float scale_y ) +qboolean R_SetDisplayTransform( ref_screen_rotation_t rotate, int offset_x, int offset_y, float scale_x, float scale_y ) { qboolean ret = true; if( rotate > 1 ) diff --git a/r_local.h b/r_local.h index ea2542c6..fc91a4ef 100644 --- a/r_local.h +++ b/r_local.h @@ -1244,7 +1244,7 @@ void R_DrawBrushModel(cl_entity_t *pent); void R_InitCaches (void); void R_BlitScreen( void ); void R_InitBlit( qboolean gl ); -qboolean R_SetDisplayTransform( uint rotate, int offset_x, int offset_y, float scale_x, float scale_y ); +qboolean R_SetDisplayTransform( ref_screen_rotation_t rotate, int offset_x, int offset_y, float scale_x, float scale_y ); // // r_edge.c