Skip to content

Commit

Permalink
[d3d8] Inline some constexpr variables
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpyneDreams committed Jul 7, 2024
1 parent ec16540 commit eb7294f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/d3d8/d3d8_batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

namespace dxvk {

constexpr size_t D3DPT_COUNT = size_t(D3DPT_TRIANGLEFAN) + 1;
constexpr D3DPRIMITIVETYPE D3DPT_INVALID = D3DPRIMITIVETYPE(0);
inline constexpr size_t D3DPT_COUNT = size_t(D3DPT_TRIANGLEFAN) + 1;
inline constexpr D3DPRIMITIVETYPE D3DPT_INVALID = D3DPRIMITIVETYPE(0);

/**
* Vertex buffer that can handle many tiny locks while
Expand Down
4 changes: 2 additions & 2 deletions src/d3d8/d3d8_caps.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace dxvk::d8caps {

constexpr uint32_t MAX_TEXTURE_STAGES = 8;
constexpr uint32_t MAX_STREAMS = 16;
inline constexpr uint32_t MAX_TEXTURE_STAGES = 8;
inline constexpr uint32_t MAX_STREAMS = 16;

}

0 comments on commit eb7294f

Please sign in to comment.