Skip to content

Commit

Permalink
lfx: Prefer using instead of typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
jp7677 committed Aug 6, 2023
1 parent b0ff960 commit 07d527e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/d3d/lfx.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ namespace dxvk {
virtual void SetTargetFrameTime(uint64_t frame_time_ns);

private:
typedef void (*PFN_lfx_WaitAndBeginFrame)();
typedef void (*PFN_lfx_SetTargetFrameTime)(__int64);
using PFN_lfx_WaitAndBeginFrame = void (*)();
using PFN_lfx_SetTargetFrameTime = void (*)(__int64);

HMODULE m_lfxModule{};
PFN_lfx_WaitAndBeginFrame m_lfx_WaitAndBeginFrame{};
Expand Down

0 comments on commit 07d527e

Please sign in to comment.