Drawable Renderer (#1570), Move layer update to where more state is available.

Evaluate properties and use actual style color.
Fix problems with attribute bindings and depth modes.
This commit is contained in:
Tim Sylvester
2023-04-27 14:25:43 -07:00
committed by Bart Louwers
parent 3122f81328
commit b8c0b1a97c
18 changed files with 224 additions and 102 deletions

View File

@@ -103,7 +103,7 @@ std::shared_ptr<ShaderProgramGL> ShaderProgramGL::create(
std::string_view vertexSource,
std::string_view fragmentSource) noexcept(false) {
const auto firstAttrib = "pos";
const auto firstAttrib = "a_pos";
// throws on compile error
auto vertProg = context.createShader(ShaderType::Vertex, std::initializer_list<const char*>{vertexSource.data()});