Browse Source

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

master
Alibek Omarov 5 months ago
parent
commit
04f42df7d5
  1. 3
      common/render_api.h

3
common/render_api.h

@ -107,7 +107,8 @@ typedef enum @@ -107,7 +107,8 @@ typedef enum
TF_ARB_FLOAT = (1<<26), // float textures
TF_NOCOMPARE = (1<<27), // disable comparing for depth textures
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;
typedef enum

Loading…
Cancel
Save