engine: update Mod_PointInLeaf signature for RefAPI

This commit is contained in:
Alibek Omarov
2026-04-14 22:36:15 +05:00
parent bfdb62d31e
commit dd712a0df9
6 changed files with 6 additions and 11 deletions
+1 -6
View File
@@ -322,11 +322,6 @@ static qboolean R_Init_Video_( ref_graphic_apis_t type )
return R_Init_Video( type );
}
static mleaf_t *pfnMod_PointInLeaf( const vec3_t p, mnode_t *node )
{
// FIXME: get rid of this on next RefAPI update
return Mod_PointInLeaf( p, node, cl.models[1] );
}
static const ref_api_t gEngfuncs =
{
@@ -368,7 +363,7 @@ static const ref_api_t gEngfuncs =
Mod_SampleSizeForFace,
Mod_BoxVisible,
pfnMod_PointInLeaf,
Mod_PointInLeaf,
R_DrawWorldHull,
R_DrawModelHull,