Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.

Shader: flat - Selection
This commit is contained in:
enricoturri1966 2022-03-01 13:03:49 +01:00
parent f4cf9494d0
commit cc1d3b738d
2 changed files with 51 additions and 6 deletions

View file

@ -379,7 +379,11 @@ private:
void render_sidebar_position_hints(const std::string& sidebar_field);
void render_sidebar_rotation_hints(const std::string& sidebar_field);
void render_sidebar_scale_hints(const std::string& sidebar_field);
#if ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES
void render_sidebar_layers_hints(const std::string& sidebar_field, GLShaderProgram* shader);
#else
void render_sidebar_layers_hints(const std::string& sidebar_field);
#endif // ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES
public:
enum SyncRotationType {