mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-19 03:20:09 +00: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 );
|
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.time = cl.time;
|
||||||
refState.oldtime = cl.oldtime;
|
refState.oldtime = cl.oldtime;
|
||||||
@ -529,6 +529,8 @@ qboolean R_Init( void )
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Con_Reportf( "Renderer %s initialized\n", refdll );
|
||||||
|
|
||||||
SCR_Init();
|
SCR_Init();
|
||||||
|
|
||||||
return true;
|
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 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 )
|
#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
|
// common engine and renderer cvars
|
||||||
extern convar_t *r_decals;
|
extern convar_t *r_decals;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user