crash hotfix (no clang-format because on phone)
hotfix 2: check if the texture is custom before dumping hotfix 4: fix custom texture conflict detection
This commit is contained in:
parent
ae4aaf2fc1
commit
5450d4980d
5 changed files with 7 additions and 9 deletions
|
@ -1009,7 +1009,7 @@ void CachedSurface::UploadGLTexture(const Common::Rectangle<u32>& rect, GLuint r
|
|||
}
|
||||
|
||||
glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
|
||||
if (Settings::values.dump_textures)
|
||||
if (Settings::values.dump_textures && !is_custom)
|
||||
DumpTexture(target_tex, tex_hash);
|
||||
|
||||
cur_state.texture_units[0].texture_2d = old_tex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue