diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-07-18 09:12:36 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-07-18 09:12:36 +0200 |
| commit | 2fbdc035720d3a1e577aa11cd363ea139fd58c5d (patch) | |
| tree | 5728e850f2e3d3832a25f6f581adb5e72c36386d /Source/Core/VideoBackends/Software/EfbInterface.cpp | |
| parent | c10674b9d48f45b81468679dcb44615cf52339df (diff) | |
| parent | 2be83c13be5c26cbf990cbcf844cc9b4952d9c5d (diff) | |
Merge pull request #642 from phire/vs-constants
VideoSoftware: Use the same max XFB size as VideoCommon.
Diffstat (limited to 'Source/Core/VideoBackends/Software/EfbInterface.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/EfbInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/EfbInterface.cpp b/Source/Core/VideoBackends/Software/EfbInterface.cpp index aabbee0607..bf405860bf 100644 --- a/Source/Core/VideoBackends/Software/EfbInterface.cpp +++ b/Source/Core/VideoBackends/Software/EfbInterface.cpp @@ -558,7 +558,7 @@ namespace EfbInterface // Like CopyToXFB, but we copy directly into the opengl colour texture without going via GameCube main memory or doing a yuyv conversion void BypassXFB(u8* texture, u32 fbWidth, u32 fbHeight, const EFBRectangle& sourceRc, float Gamma) { - if (fbWidth*fbHeight > 640*568) { + if (fbWidth*fbHeight > MAX_XFB_WIDTH*MAX_XFB_HEIGHT) { ERROR_LOG(VIDEO, "Framebuffer is too large: %ix%i", fbWidth, fbHeight); return; } |
