]> git.tdb.fi Git - libs/gl.git/commit
Reset the default pipeline state when rendering ends
authorMikko Rasa <tdb@tdb.fi>
Mon, 3 Apr 2023 13:15:31 +0000 (16:15 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 3 Apr 2023 13:15:31 +0000 (16:15 +0300)
commitdc5e4500df3a184732b85f4aee2f4f5ae69472dd
tree2e146da30ccda12c4362a4bc544a29265c99d914
parent406d533d0afa239b0229741b7857d3ceb01fa4c2
Reset the default pipeline state when rendering ends

This avoids invalid accesses to resources which get destroyed before
the next frame, particularly with the OpenGL backend.
source/core/pipelinestate.cpp
source/core/pipelinestate.h
source/render/renderer.cpp