Skip to content

Commit 1e6db2d

Browse files
committed
Use device's Vulkan version
1 parent 2a550ed commit 1e6db2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/net/vulkanmod/vulkan/device/Device.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public Device(VkPhysicalDevice device) {
4646
this.vendorIdString = decodeVendor(properties.vendorID());
4747
this.deviceName = properties.deviceNameString();
4848
this.driverVersion = decodeDvrVersion(properties.driverVersion(), properties.vendorID());
49-
this.vkVersion = decDefVersion(getVkVer());
49+
this.vkVersion = decDefVersion(properties.apiVersion());
5050

5151
this.availableFeatures = VkPhysicalDeviceFeatures2.calloc();
5252
this.availableFeatures.sType$Default();

0 commit comments

Comments
 (0)