Skip to content

Commit

Permalink
Fix max texture count for d3d12
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Aug 7, 2023
1 parent 8f5d76c commit 6c21df9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions armorpaint/Sources/arm/shader/MakeMesh.hx
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,8 @@ class MakeMesh {
static inline function getMaxTextures(): Int {
#if kha_direct3d11
return 128 - 66;
#elseif kha_direct3d12
return 16 - 4;
#else
return 16 - 3; // G4onG5/G4.c.h MAX_TEXTURES
#end
Expand Down

0 comments on commit 6c21df9

Please sign in to comment.