Skip to content

Commit

Permalink
Version 1.2.10: fix vulkan hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebzzel committed Jun 16, 2020
1 parent 9f41abe commit 9c60cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions kiero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ kiero::Status::Enum kiero::init(RenderType::Enum _renderType)
{
#if KIERO_INCLUDE_VULKAN
HMODULE libVulkan;
if ((libVulkan = GetModuleHandle(KIERO_TEXT("vulcan-1.dll"))) == NULL)
if ((libVulkan = GetModuleHandle(KIERO_TEXT("vulkan-1.dll"))) == NULL)
{
return Status::ModuleNotFoundError;
}
Expand Down Expand Up @@ -654,7 +654,7 @@ kiero::Status::Enum kiero::init(RenderType::Enum _renderType)
{
type = RenderType::OpenGL;
}
else if (::GetModuleHandle(KIERO_TEXT("vulcan-1.dll")) != NULL)
else if (::GetModuleHandle(KIERO_TEXT("vulkan-1.dll")) != NULL)
{
type = RenderType::Vulkan;
}
Expand Down
2 changes: 1 addition & 1 deletion kiero.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include <stdint.h>

#define KIERO_VERSION "1.2.9"
#define KIERO_VERSION "1.2.10"

#define KIERO_INCLUDE_D3D9 0 // 1 if you need D3D9 hook
#define KIERO_INCLUDE_D3D10 0 // 1 if you need D3D10 hook
Expand Down

0 comments on commit 9c60cb3

Please sign in to comment.