Skip to content

Commit

Permalink
Q3BSP: fix truncation of maximum length texture paths
Browse files Browse the repository at this point in the history
Signed-off-by: bones_was_here <[email protected]>
  • Loading branch information
bones-was-here committed Jul 23, 2024
1 parent ffc8287 commit 98037e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r_qshader.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define Q3TEXTUREFLAG_CAMERA 2048
#define Q3TEXTUREFLAG_TRANSPARENTSORT 4096

#define Q3PATHLENGTH 64
#define Q3PATHLENGTH 64+1 ///< Q3 allows 64 bytes excluding the \0 terminator
#define TEXTURE_MAXFRAMES 64
#define Q3WAVEPARMS 4
#define Q3DEFORM_MAXPARMS 3
Expand Down

0 comments on commit 98037e8

Please sign in to comment.