Skip to content

Commit

Permalink
nvapi: Improve interface version string
Browse files Browse the repository at this point in the history
This fits better.
  • Loading branch information
jp7677 committed Jul 8, 2023
1 parent ef4c61b commit ac6cc13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nvapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ extern "C" {
if (szDesc == nullptr)
return InvalidArgument(n);

str::tonvss(szDesc, "DXVK_NVAPI");
str::tonvss(szDesc, "NVAPI Open Source Interface (DXVK-NVAPI)");

return Ok(n);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/nvapi_sysinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using namespace Catch::Matchers;
TEST_CASE("GetInterfaceVersionString returns OK", "[.sysinfo]") {
NvAPI_ShortString desc;
REQUIRE(NvAPI_GetInterfaceVersionString(desc) == NVAPI_OK);
REQUIRE_THAT(desc, Equals("DXVK_NVAPI"));
REQUIRE_THAT(desc, Equals("NVAPI Open Source Interface (DXVK-NVAPI)"));
}

TEST_CASE("GetErrorMessage returns OK", "[.sysinfo]") {
Expand Down

0 comments on commit ac6cc13

Please sign in to comment.