mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Can't forget the texture in the callback, breaks texture-from-framebuffer-copy.
Was probably redundant anyway.
This commit is contained in:
parent
70d1d8fa07
commit
3dd45c6561
@ -330,7 +330,6 @@ VertexArrayInfoD3D11::~VertexArrayInfoD3D11() {
|
||||
void DrawEngineD3D11::Invalidate(InvalidationFlags flags) {
|
||||
if (flags & InvalidationFlags::RENDER_PASS_STATE) {
|
||||
gstate_c.Dirty(DIRTY_VIEWPORTSCISSOR_STATE | DIRTY_TEXTURE_IMAGE | DIRTY_TEXTURE_PARAMS);
|
||||
textureCache_->ForgetLastTexture();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -248,7 +248,6 @@ void DrawEngineGLES::Invalidate(InvalidationFlags flags) {
|
||||
if (flags & InvalidationFlags::RENDER_PASS_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_RASTER_STATE | DIRTY_TEXTURE_IMAGE | DIRTY_TEXTURE_PARAMS);
|
||||
textureCache_->ForgetLastTexture();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user