Permalink
Browse files

Nitpicking! Correct minor version for non Nvidia.

  • Loading branch information...
LunaMoo committed Nov 13, 2017
1 parent c3c4ec4 commit a84a33678768c0724207c1258661d52b70f24441
Showing with 1 addition and 0 deletions.
  1. +1 −0 ext/native/thin3d/thin3d_vulkan.cpp
@@ -439,6 +439,7 @@ class VKContext : public DrawContext {
return StringFromFormat("%d.%d.%d.%d (%08x)", major, minor, secondaryBranch, tertiaryBranch, props.driverVersion);
} else {
uint32_t branch = props.driverVersion & 0xfff;
minor = (props.driverVersion >> 12) & 0x0ff;
return StringFromFormat("%d.%d.%d (%08x)", major, minor, branch, props.driverVersion);
}
}

0 comments on commit a84a336

Please sign in to comment.