mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-25 01:11:48 +01:00
Merge pull request #6119 from GPUCode/master
Fix graphical bugs in Yokai 2/3 games
This commit is contained in:
commit
fd0430e079
@ -846,8 +846,7 @@ bool RasterizerCacheOpenGL::IntervalHasInvalidPixelFormat(SurfaceParams& params,
|
||||
params.pixel_format = PixelFormat::Invalid;
|
||||
for (const auto& set : RangeFromInterval(surface_cache, interval))
|
||||
for (const auto& surface : set.second)
|
||||
if (surface->pixel_format == PixelFormat::Invalid &&
|
||||
surface->type != SurfaceType::Fill) {
|
||||
if (surface->pixel_format == PixelFormat::Invalid) {
|
||||
LOG_DEBUG(Render_OpenGL, "Surface {:#x} found with invalid pixel format",
|
||||
surface->addr);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user