The current code does functionally a noop but not effectively. Hence, it still costs cycles. This PR does not fix visibly anything but finally does what was originally intended. We get our electron’s worth. :wink:
Btw, clearing color buffers is quite expensive while gaining very little. It is best to avoid doing it. On the other hand, zeroing Z buffers on modern GPUs is very fast.
The current code does functionally a noop but not effectively. Hence, it still costs cycles. This PR does not fix visibly anything but finally does what was originally intended. We get our electron’s worth. :wink:
Btw, clearing color buffers is quite expensive while gaining very little. It is best to avoid doing it. On the other hand, zeroing Z buffers on modern GPUs is very fast.