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

python without submodel texture

This commit is contained in:
milek7
2019-03-12 23:11:31 +01:00
parent dba2308997
commit 38ea3f5737
5 changed files with 35 additions and 22 deletions

View File

@@ -43,6 +43,7 @@ struct opengl_texture {
height() const {
return data_height; }
void make_stub();
void alloc_rendertarget(GLint format, GLint components, int width, int height, int samples = 1, GLint wrap = GL_CLAMP_TO_BORDER);
void set_components_hint(GLint hint);
static void reset_unit_cache();
@@ -62,7 +63,6 @@ struct opengl_texture {
private:
// methods
void make_stub();
void make_request();
void load_BMP();
void load_PNG();