mirror of
https://github.com/miracle-wm-org/miracle-wm.git
synced 2024-11-26 12:34:40 +03:00
bugfix: border was not using the workspace transform
This commit is contained in:
parent
a6cdcbe673
commit
60d5fde154
@ -622,7 +622,9 @@ void Renderer::draw(mg::Renderable const& renderable, OutlineContext* context) c
|
||||
glUniformMatrix4fv(prog->workspace_transform_uniform, 1, GL_FALSE,
|
||||
glm::value_ptr(glm::mat4(1.f)));
|
||||
}
|
||||
// Otherwise, keep the transform from last time...
|
||||
else
|
||||
glUniformMatrix4fv(prog->workspace_transform_uniform, 1, GL_FALSE,
|
||||
glm::value_ptr(glm::mat4(1.f)));
|
||||
|
||||
if (context)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user