Readable depth-stencil Canvases with MSAA are not currently supported.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-04-11 20:45:12 -03:00
parent fca3d4a841
commit 72c7602650
+3
View File
@@ -171,6 +171,9 @@ Canvas::Canvas(const Settings &settings)
else
readable = !isPixelFormatDepthStencil(format);
if (readable && isPixelFormatDepthStencil(format) && settings.msaa > 1)
throw love::Exception("Readable depth/stencil Canvases with MSAA are not currently supported.");
initQuad();
loadVolatile();