Skip to content

Commit

Permalink
Increase the value of MAX_PATCH_PLANES
Browse files Browse the repository at this point in the history
  • Loading branch information
smallmodel authored Dec 11, 2024
1 parent 95466b8 commit 1b8ef41
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion code/qcommon/cm_patch.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ properly.


#define MAX_FACETS 1024
#define MAX_PATCH_PLANES 4096 // 2048 su44: increased for m1l2a
// Changed in OPM
// In OG it's 4096, however due to a tiny floating point difference
// between x86 and x64, more patch planes can appear in x64
#define MAX_PATCH_PLANES 6144

typedef struct {
float plane[4];
Expand Down

0 comments on commit 1b8ef41

Please sign in to comment.