engine: add buffer size argument to RefAPI's Mod_ProcessRenderData, bump RefAPI version

This commit is contained in:
Alibek Omarov
2025-10-31 15:58:05 +05:00
parent b3dc772cd2
commit a14cc82d46
6 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ static void Mod_UnloadTextures( model_t *mod )
}
}
static qboolean Mod_ProcessRenderData( model_t *mod, qboolean create, const byte *buf )
static qboolean Mod_ProcessRenderData( model_t *mod, qboolean create, const byte *buf, size_t buffersize )
{
qboolean loaded = false;
+1 -1
View File
@@ -194,7 +194,7 @@ static int R_GetSpriteTexture( const model_t *m_pSpriteModel, int frame )
return 0;
}
static qboolean Mod_ProcessRenderData( model_t *mod, qboolean create, const byte *buffer )
static qboolean Mod_ProcessRenderData( model_t *mod, qboolean create, const byte *buffer, size_t buffersize )
{
return true;
}
+1 -1
View File
@@ -64,7 +64,7 @@ static void GAME_EXPORT CL_FillRGBA( int rendermode, float _x, float _y, float _
void Mod_UnloadTextures( model_t *mod );
static qboolean GAME_EXPORT Mod_ProcessRenderData( model_t *mod, qboolean create, const byte *buf )
static qboolean GAME_EXPORT Mod_ProcessRenderData( model_t *mod, qboolean create, const byte *buf, size_t buffersize )
{
qboolean loaded = false;