16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 13:39:18 +02:00
This commit is contained in:
VB
2017-02-14 19:47:58 +01:00
parent 21bb3bc0e7
commit 20f95c5f3b
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ struct opengl_texture {
void load();
void create();
// members
GLuint id{ -1 }; // associated GL resource
GLuint id{ (GLuint)-1 }; // associated GL resource
bool has_alpha{ false }; // indicates the texture has alpha channel
bool is_ready{ false }; // indicates the texture was processed and is ready for use
std::string traits; // requested texture attributes: wrapping modes etc