Can't forget the texture in the callback, breaks texture-from-framebuffer-copy.

Was probably redundant anyway.
This commit is contained in:
Henrik Rydgård committed 2022-11-24 11:02:21 +01:00
1 parent 70d1d8fa07
commit 3dd45c6561
3 files changed
-4

No files matched your search

-2
View File
@@ -550,8 +550,6 @@ void DrawEngineVulkan::Invalidate(InvalidationFlags flags) {
}
if (flags & InvalidationFlags::RENDER_PASS_STATE) {
// If have a new render pass, dirty our dynamic state so it gets re-set.
// We have to do this again after the last possible place in DoFlush that can cause a renderpass switch
// like a shader blend blit or similar. But before we actually set the state!
//
// Dirty everything that has dynamic state that will need re-recording.
gstate_c.Dirty(DIRTY_VIEWPORTSCISSOR_STATE | DIRTY_DEPTHSTENCIL_STATE | DIRTY_BLEND_STATE | DIRTY_TEXTURE_IMAGE | DIRTY_TEXTURE_PARAMS);