mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
metal: more robust render pass handling.
Initial implementation of captureScreenshot. Fix getStats().shaderswitches. Fix getStats().drawcalls.
This commit is contained in:
@@ -737,7 +737,7 @@ void Shader::attach()
|
||||
{
|
||||
Graphics *gfx = Graphics::getInstance();
|
||||
gfx->flushBatchedDraws();
|
||||
gfx->attachShader(this);
|
||||
gfx->setShaderChanged();
|
||||
current = this;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user