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

ai direction change logic enhamcement, minor bug fixes

This commit is contained in:
tmj-fstate
2020-05-23 23:19:04 +02:00
parent 10dabd66c3
commit 679741f22f
13 changed files with 218 additions and 134 deletions

View File

@@ -31,7 +31,7 @@ struct opengl_texture {
static void
unbind( size_t unit );
bool
create();
create( bool const Static = false );
// releases resources allocated on the opengl end, storing local copy if requested
void
release();
@@ -78,6 +78,7 @@ private:
void gles_match_internalformat( GLuint format );
// members
bool is_static = false; // is excluded from garbage collection
bool is_rendertarget = false; // is used as postfx rendertarget, without loaded data
int samples = 1;
int layers = 1;