mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 16:19:19 +02:00
fix
This commit is contained in:
@@ -938,7 +938,7 @@ void TSubRect::Sort()
|
|||||||
*/
|
*/
|
||||||
//...
|
//...
|
||||||
// przeglądanie listy i tworzenie obiektów renderujących dla danej tekstury
|
// przeglądanie listy i tworzenie obiektów renderujących dla danej tekstury
|
||||||
GLuint t = 0; // pomocniczy kod tekstury
|
int t = 0; // pomocniczy kod tekstury
|
||||||
n1 = nMeshed; // lista obiektów przetwarzanych na statyczne siatki
|
n1 = nMeshed; // lista obiektów przetwarzanych na statyczne siatki
|
||||||
while (n1)
|
while (n1)
|
||||||
{ // dla każdej tekstury powinny istnieć co najmniej dwa obiekty, ale dla DL nie ma to znaczenia
|
{ // dla każdej tekstury powinny istnieć co najmniej dwa obiekty, ale dla DL nie ma to znaczenia
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ struct opengl_texture {
|
|||||||
void load();
|
void load();
|
||||||
void create();
|
void create();
|
||||||
// members
|
// 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 has_alpha{ false }; // indicates the texture has alpha channel
|
||||||
bool is_ready{ false }; // indicates the texture was processed and is ready for use
|
bool is_ready{ false }; // indicates the texture was processed and is ready for use
|
||||||
std::string traits; // requested texture attributes: wrapping modes etc
|
std::string traits; // requested texture attributes: wrapping modes etc
|
||||||
|
|||||||
Reference in New Issue
Block a user