]> git.tdb.fi Git - libs/gl.git/commit
Set viewport and scissor before clear commands
authorMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 18:39:33 +0000 (21:39 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 3 Oct 2021 18:39:33 +0000 (21:39 +0300)
commit5a83fca1840207999076343610bf76a6cdd6fdf5
tree88819c607baabb35ac526c4f61bd583179b31288
parentc39bb707ff8678d0675538994dc05182e61da193
Set viewport and scissor before clear commands

Since this requires applying the pipeline state, using DSA for the clear
commands seems pointless and was removed to simplify the code.
source/backends/opengl/commands_backend.cpp
source/render/renderer.cpp