Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.

Shader: flat_texture
This commit is contained in:
enricoturri1966 2022-03-07 09:45:29 +01:00
parent 545056bf7c
commit 005fef7bf6
5 changed files with 199 additions and 29 deletions

View file

@ -234,8 +234,12 @@ private:
bool alt_down = false,
bool control_down = false);
#if ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES
void render_background(float left, float top, float right, float bottom, float border_w, float border_h) const;
#else
void render_background(float left, float top, float right, float bottom, float border) const;
#endif // ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES
void do_render_overlay() const;
float get_scaled_total_height() const;