16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-23 01:39:19 +02:00

opacity bugfix

This commit is contained in:
milek7
2018-07-17 17:45:06 +02:00
parent a29379ed8b
commit 61bbfe667b
10 changed files with 101 additions and 58 deletions

View File

@@ -157,6 +157,7 @@ class opengl_renderer
std::shared_ptr<gl::program> Fetch_Shader(std::string const &name);
opengl_material const &Material(material_handle const Material) const;
opengl_material &Material(material_handle const Material);
// texture methods
texture_handle Fetch_Texture(std::string const &Filename, bool const Loadnow = true, GLint format_hint = GL_SRGB_ALPHA);
void Bind_Texture(size_t Unit, texture_handle const Texture);
@@ -381,7 +382,7 @@ class opengl_renderer
material_handle m_invalid_material;
bool m_blendphase; // m7t: todo: remove kludge!
bool m_blendingenabled;
bool m_widelines_supported;
};