mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
vulkan: implement getAPIStats
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <graphics/Shader.h>
|
||||
#include <graphics/vulkan/ShaderStage.h>
|
||||
#include "Vulkan.h"
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
#include <map>
|
||||
@@ -21,12 +22,7 @@ namespace love {
|
||||
return shaderStages;
|
||||
}
|
||||
|
||||
void attach() override {
|
||||
if (Shader::current != this) {
|
||||
Graphics::flushBatchedDrawsGlobal();
|
||||
Shader::current = this;
|
||||
}
|
||||
}
|
||||
void attach() override;
|
||||
|
||||
ptrdiff_t getHandle() const { return 0; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user