mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Fixed vertex color initialization with default value in gles3
Fixes #30275, #31250
This commit is contained in:
parent
e578c1fef8
commit
e852b3a271
@ -200,6 +200,8 @@ void RasterizerCanvasGLES3::canvas_end() {
|
||||
glBindBufferBase(GL_UNIFORM_BUFFER, 0, 0);
|
||||
glColorMask(1, 1, 1, 1);
|
||||
|
||||
glVertexAttrib4f(VS::ARRAY_COLOR, 1, 1, 1, 1);
|
||||
|
||||
state.using_texture_rect = false;
|
||||
state.using_ninepatch = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user