mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-11 19:05:06 +01:00
engine: no return type for RenderFrame
This commit is contained in:
parent
5af6506d86
commit
d14ce61520
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user