vulkan: fix love.window.setVsync

This commit is contained in:
niki
2022-12-22 01:27:05 +01:00
parent eec94ccc99
commit ccca355664
5 changed files with 51 additions and 41 deletions
-11
View File
@@ -31,7 +31,6 @@ namespace vulkan
{
static uint32_t numShaderSwitches;
static int vsync = 1;
void Vulkan::shaderSwitch()
{
@@ -48,16 +47,6 @@ void Vulkan::resetShaderSwitches()
numShaderSwitches = 0;
}
void Vulkan::setVsync(int value)
{
vsync = value;
}
int Vulkan::getVsync()
{
return vsync;
}
VkFormat Vulkan::getVulkanVertexFormat(DataFormat format)
{
switch (format)