mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +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
|
||||
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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user