Skip to content

Commit

Permalink
Version 1.2.9: fix D3D11CreateDeviceAndSwapChain feature levels count (
Browse files Browse the repository at this point in the history
  • Loading branch information
Rebzzel committed Jun 16, 2020
1 parent d23d99c commit 9f41abe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kiero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ kiero::Status::Enum kiero::init(RenderType::Enum _renderType)
IDXGISwapChain**,
ID3D11Device**,
D3D_FEATURE_LEVEL*,
ID3D11DeviceContext**))(D3D11CreateDeviceAndSwapChain))(NULL, D3D_DRIVER_TYPE_HARDWARE, NULL, 0, featureLevels, 1, D3D11_SDK_VERSION, &swapChainDesc, &swapChain, &device, &featureLevel, &context) < 0)
ID3D11DeviceContext**))(D3D11CreateDeviceAndSwapChain))(NULL, D3D_DRIVER_TYPE_HARDWARE, NULL, 0, featureLevels, 2, D3D11_SDK_VERSION, &swapChainDesc, &swapChain, &device, &featureLevel, &context) < 0)
{
::DestroyWindow(window);
::UnregisterClass(windowClass.lpszClassName, windowClass.hInstance);
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.8"
#define KIERO_VERSION "1.2.9"

#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 9f41abe

Please sign in to comment.