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:
committed by
Bart Louwers
parent
3122f81328
commit
b8c0b1a97c
@@ -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()});
|
||||
|
||||
Reference in New Issue
Block a user