mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-23 19:46:44 +00:00
rasterizer_cache: Ignore fill surfaces
* Causes graphical bugs in Yokai games
This commit is contained in:
parent
47c4f31c8d
commit
fd40880127
|
@ -846,8 +846,7 @@ bool RasterizerCacheOpenGL::IntervalHasInvalidPixelFormat(SurfaceParams& params,
|
||||||
params.pixel_format = PixelFormat::Invalid;
|
params.pixel_format = PixelFormat::Invalid;
|
||||||
for (const auto& set : RangeFromInterval(surface_cache, interval))
|
for (const auto& set : RangeFromInterval(surface_cache, interval))
|
||||||
for (const auto& surface : set.second)
|
for (const auto& surface : set.second)
|
||||||
if (surface->pixel_format == PixelFormat::Invalid &&
|
if (surface->pixel_format == PixelFormat::Invalid) {
|
||||||
surface->type != SurfaceType::Fill) {
|
|
||||||
LOG_DEBUG(Render_OpenGL, "Surface {:#x} found with invalid pixel format",
|
LOG_DEBUG(Render_OpenGL, "Surface {:#x} found with invalid pixel format",
|
||||||
surface->addr);
|
surface->addr);
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue