]> git.tdb.fi Git - libs/gl.git/commit
Treat clear() with null parameter as invalidate
authorMikko Rasa <tdb@tdb.fi>
Fri, 19 Nov 2021 22:36:52 +0000 (00:36 +0200)
committerMikko Rasa <tdb@tdb.fi>
Fri, 19 Nov 2021 23:04:35 +0000 (01:04 +0200)
commit0bcebf9930e4baada774a16c0e7637a22a410bb4
tree907e19f0bb49a348b2acc86f6e35806acd029e02
parentd8d4c2aeaf109ab7ba55888bef5364fe11b5b02d
Treat clear() with null parameter as invalidate

Also use it in Sequence for postprocessor render targets, since
postprocessors are supposed to render the entire screen.
source/backends/opengl/commands_backend.cpp
source/backends/vulkan/commands_backend.cpp
source/backends/vulkan/commands_backend.h
source/backends/vulkan/framebuffer_backend.cpp
source/backends/vulkan/pipelinecache.cpp
source/backends/vulkan/pipelinecache.h
source/backends/vulkan/pipelinestate_backend.cpp
source/render/renderer.h
source/render/sequence.cpp