16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 00:09:18 +02:00

Refactor clamp_power_of_two

This commit is contained in:
docentYT
2026-05-02 00:35:50 +02:00
parent 76844e33e7
commit 28baad8c5b
4 changed files with 15 additions and 15 deletions

View File

@@ -119,7 +119,7 @@ public:
bool is_texstub = false; // for make_from_memory internal_src: functionality
std::vector<unsigned char> data; // texture data (stored GL-style, bottom-left origin)
resource_state data_state{ resource_state::none }; // current state of texture data
int data_width{ 0 },
unsigned int data_width{ 0 },
data_height{ 0 },
data_mapcount{ 0 };
GLint data_format{ 0 },