mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Readable depth-stencil Canvases with MSAA are not currently supported.
--HG-- branch : minor
This commit is contained in:
@@ -171,6 +171,9 @@ Canvas::Canvas(const Settings &settings)
|
|||||||
else
|
else
|
||||||
readable = !isPixelFormatDepthStencil(format);
|
readable = !isPixelFormatDepthStencil(format);
|
||||||
|
|
||||||
|
if (readable && isPixelFormatDepthStencil(format) && settings.msaa > 1)
|
||||||
|
throw love::Exception("Readable depth/stencil Canvases with MSAA are not currently supported.");
|
||||||
|
|
||||||
initQuad();
|
initQuad();
|
||||||
loadVolatile();
|
loadVolatile();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user