diff --git a/engine/client/ref_common.c b/engine/client/ref_common.c index 8782a1dd..37948c21 100644 --- a/engine/client/ref_common.c +++ b/engine/client/ref_common.c @@ -35,7 +35,7 @@ void GL_FreeImage( const char *name ) ref.dllFuncs.GL_FreeTexture( texnum ); } -int GL_RenderFrame( const ref_viewpass_t *rvp ) +void GL_RenderFrame( const ref_viewpass_t *rvp ) { refState.time = cl.time; refState.oldtime = cl.oldtime; @@ -529,6 +529,8 @@ qboolean R_Init( void ) return false; } + Con_Reportf( "Renderer %s initialized\n", refdll ); + SCR_Init(); return true; diff --git a/engine/client/ref_common.h b/engine/client/ref_common.h index 2b5f6e88..ea79cb40 100644 --- a/engine/client/ref_common.h +++ b/engine/client/ref_common.h @@ -38,7 +38,7 @@ void R_GetTextureParms( int *w, int *h, int texnum ); #define GL_UpdateTextureInternal( name, pic, flags ) ref.dllFuncs.GL_LoadTextureFromBuffer( (name), (pic), (flags), true ) #define R_GetBuiltinTexture( name ) ref.dllFuncs.GL_LoadTexture( (name), 0, 0, 0 ) -int GL_RenderFrame( const struct ref_viewpass_s *rvp ); +void GL_RenderFrame( const struct ref_viewpass_s *rvp ); // common engine and renderer cvars extern convar_t *r_decals;