diff --git a/plugins/GSdx/Renderers/DX11/GSDevice11.cpp b/plugins/GSdx/Renderers/DX11/GSDevice11.cpp index 4eaae3b9c..a49988cca 100644 --- a/plugins/GSdx/Renderers/DX11/GSDevice11.cpp +++ b/plugins/GSdx/Renderers/DX11/GSDevice11.cpp @@ -638,8 +638,8 @@ GSTexture* GSDevice11::CreateSurface(int type, int w, int h, int format) memset(&desc, 0, sizeof(desc)); - desc.Width = std::max(1, w); // texture min is 1 for dx - desc.Height = std::max(1, h); + desc.Width = std::max(1, std::min(w, 8192)); // Texture limit for D3D10 min 1, max 8192 + desc.Height = std::max(1, std::min(h, 8192)); desc.Format = (DXGI_FORMAT)format; desc.MipLevels = 1; desc.ArraySize = 1;