Fix #113310: Python gpu.state.scissor_test_set Not Updating State

When using scissor_test_set the framebuffer wasn't marked dirty and
would not always translate the start to actual driver commands.

Pull Request: https://projects.blender.org/blender/blender/pulls/113642
This commit is contained in:
Jeroen Bakker
2023-10-13 07:44:11 +02:00
parent 6a147ef7c9
commit 4cedbb9cb7

View File

@@ -185,6 +185,7 @@ class FrameBuffer {
inline void scissor_test_set(bool test)
{
scissor_test_ = test;
dirty_state_ = true;
}
inline void viewport_get(int r_viewport[4]) const