mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
vulkan: implement draw(DrawCommand)
Now love.graphics.point and love.graphics.line works
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
|
||||
|
||||
namespace love {
|
||||
@@ -20,7 +21,9 @@ namespace love {
|
||||
return shaderStages;
|
||||
}
|
||||
|
||||
void attach() override {}
|
||||
void attach() override {
|
||||
Shader::current = this;
|
||||
}
|
||||
|
||||
ptrdiff_t getHandle() const { return 0; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user