diff options
| -rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 6474d9129..2aed83bbc 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h | |||
| @@ -718,8 +718,9 @@ struct SurfaceParams { | |||
| 718 | 718 | ||
| 719 | /// Checks if surfaces are compatible for caching | 719 | /// Checks if surfaces are compatible for caching |
| 720 | bool IsCompatibleSurface(const SurfaceParams& other) const { | 720 | bool IsCompatibleSurface(const SurfaceParams& other) const { |
| 721 | return std::tie(pixel_format, type, width, height) == | 721 | return std::tie(pixel_format, type, width, height, target, depth) == |
| 722 | std::tie(other.pixel_format, other.type, other.width, other.height); | 722 | std::tie(other.pixel_format, other.type, other.width, other.height, other.target, |
| 723 | other.depth); | ||
| 723 | } | 724 | } |
| 724 | 725 | ||
| 725 | VAddr addr; | 726 | VAddr addr; |