engine: ref_api: add PARM_TEX_FILTERING into RefAPI to query if filtering is enabled for selected texture

This commit is contained in:
Alibek Omarov 2024-01-25 05:43:51 +03:00
parent 47bc50b8c6
commit 11172838f2
1 changed files with 6 additions and 0 deletions

View File

@ -283,6 +283,12 @@ typedef enum
PARM_GET_MOVEVARS_PTR = -13, // clgame.movevars
PARM_GET_PALETTE_PTR = -14, // clgame.palette
PARM_GET_VIEWENT_PTR = -15, // clgame.viewent
// implemented by ref_dll
// returns non-null integer if filtering is enabled for texture
// pass -1 to query global filtering settings
PARM_TEX_FILTERING = -65536,
} ref_parm_e;
typedef struct ref_api_s