Skip to content

Commit

Permalink
vulkan name
Browse files Browse the repository at this point in the history
  • Loading branch information
ellraiser committed Oct 10, 2023
1 parent 3af2153 commit 7e6b517
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
# with:
# name: test-output-windows-opengles
# path: test-output-windows-opengles.zip
- name: Install Vulkan SDK
- name: Install Vulkan
run: |
curl -L --show-error --output VulkanSDK.exe https://sdk.lunarg.com/sdk/download/1.3.231.1/windows/VulkanSDK-1.3.231.1-Installer.exe
./VulkanSDK.exe --root C:/VulkanSDK/1.3.231.1 --accept-licenses --default-answer --confirm-command install com.lunarg.vulkan.core com.lunarg.vulkan.vma
Expand Down
5 changes: 3 additions & 2 deletions tests/graphics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,9 @@ end
-- love.graphics.isActive
love.test.graphics.isActive = function(test)
local name, version, vendor, device = love.graphics.getRendererInfo()
print(name, version, vendor, device)
if string.match(name, 'Vulkan') then
print(name)
if string.find(name, 'Vulkan') ~= nil then
print('skip test')
test:skipTest('love.graphics.isActive() crashes on Vulkan')
else
test:assertEquals(true, love.graphics.isActive(), 'check graphics is active') -- i mean if you got this far
Expand Down

0 comments on commit 7e6b517

Please sign in to comment.