diff options
author | Subv <subv2112@gmail.com> | 2018-06-04 20:01:53 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-06-04 20:01:53 +0200 |
commit | cb47abecc6ba70b850dc0f8d4d5c2fcc97e7beec (patch) | |
tree | 680007e4c5203bd258034d64ad0eb2eae59e2669 | |
parent | Merge pull request #499 from bunnei/am-stuff (diff) | |
download | yuzu-cb47abecc6ba70b850dc0f8d4d5c2fcc97e7beec.tar yuzu-cb47abecc6ba70b850dc0f8d4d5c2fcc97e7beec.tar.gz yuzu-cb47abecc6ba70b850dc0f8d4d5c2fcc97e7beec.tar.bz2 yuzu-cb47abecc6ba70b850dc0f8d4d5c2fcc97e7beec.tar.lz yuzu-cb47abecc6ba70b850dc0f8d4d5c2fcc97e7beec.tar.xz yuzu-cb47abecc6ba70b850dc0f8d4d5c2fcc97e7beec.tar.zst yuzu-cb47abecc6ba70b850dc0f8d4d5c2fcc97e7beec.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp index 65d643447..d6048f639 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp @@ -933,7 +933,8 @@ Surface RasterizerCacheOpenGL::GetSurface(const SurfaceParams& params, ScaleMatc // Use GetSurfaceSubRect instead ASSERT(params.width == params.stride); - ASSERT(!params.is_tiled || (params.width % 8 == 0 && params.height % 8 == 0)); + ASSERT(!params.is_tiled || + (params.GetActualWidth() % 8 == 0 && params.GetActualHeight() % 8 == 0)); // Check for an exact match in existing surfaces Surface surface = |