Skip to content

Commit

Permalink
Merge branch 'dev/adunn/fix_min_surface_pitch' into 'main'
Browse files Browse the repository at this point in the history
Fix another crash on boot issue related to texture updates

See merge request lightspeedrtx/bridge-remix-nv!63
  • Loading branch information
AlexDunn committed Jan 27, 2024
2 parents 8114368 + 647451b commit 897de48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/util_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ namespace caps {

static const uint32_t MaxTexturesPS = 16;

static const uint32_t MinSurfacePitch = 8;
static const uint32_t MinSurfacePitch = sizeof(size_t);
}

// Dynamic cast has RTTI checks - which are more expensive at runtime (hence debug only) but much better at catching bugs
Expand Down

0 comments on commit 897de48

Please sign in to comment.