Fix #135357: Overlay-Next: Reference images briefly disappear when entering orthographic view
depth_bias_winmat_ is computed after sync.
This commit is contained in:
@@ -359,7 +359,7 @@ class Empties : Overlay {
|
||||
PassMain::Sub &sub = parent.sub("Sub", z);
|
||||
if (depth_bias) {
|
||||
sub.shader_set(res.shaders.image_plane_depth_bias.get());
|
||||
sub.push_constant("depth_bias_winmat", depth_bias_winmat_);
|
||||
sub.push_constant("depth_bias_winmat", &depth_bias_winmat_);
|
||||
}
|
||||
else {
|
||||
sub.shader_set(res.shaders.image_plane.get());
|
||||
|
||||
Reference in New Issue
Block a user