common: render_api: new flag TF_ALLOW_NEAREST_TOGGLE that allows toggling nearest filtering for TF_NOMIPMAP textures

This commit is contained in:
Alibek Omarov 2024-01-29 05:48:42 +03:00
parent ab15662d78
commit 04f42df7d5

View File

@ -107,7 +107,8 @@ typedef enum
TF_ARB_FLOAT = (1<<26), // float textures TF_ARB_FLOAT = (1<<26), // float textures
TF_NOCOMPARE = (1<<27), // disable comparing for depth textures TF_NOCOMPARE = (1<<27), // disable comparing for depth textures
TF_ARB_16BIT = (1<<28), // keep image as 16-bit (not 24) TF_ARB_16BIT = (1<<28), // keep image as 16-bit (not 24)
TF_MULTISAMPLE = (1<<29) // multisampling texture TF_MULTISAMPLE = (1<<29), // multisampling texture
TF_ALLOW_NEAREST_TOGGLE = (1<<30), // allows toggling nearest filtering for TF_NOMIPMAP textures
} texFlags_t; } texFlags_t;
typedef enum typedef enum