Skip to content

Commit 13fef5e

Browse files
committed
fixed stupid typo causing gpu crashes
1 parent eff1c85 commit 13fef5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

62_CAD/DrawResourcesFiller.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ void DrawResourcesFiller::submitCurrentObjectsAndReset(SIntendedSubmitInfo& inte
516516
// We don't reset counters for styles because we will be reusing them
517517
resetGeometryCounters();
518518

519-
uint32_t newClipProjectionAddress = acquireCurrentClipProjectionAddress(intendedNextSubmit);
519+
uint64_t newClipProjectionAddress = acquireCurrentClipProjectionAddress(intendedNextSubmit);
520520
// If the clip projection stack is non-empty, then it means we need to re-push the clipProjectionData (because it exists in geometry data and it was reset)
521521
if (newClipProjectionAddress != InvalidClipProjectionAddress)
522522
{
@@ -564,7 +564,7 @@ uint32_t DrawResourcesFiller::addLineStyle_Internal(const LineStyleInfo& lineSty
564564
return currentLineStylesCount++;
565565
}
566566

567-
inline uint64_t DrawResourcesFiller::acquireCurrentClipProjectionAddress(SIntendedSubmitInfo& intendedNextSubmit)
567+
uint64_t DrawResourcesFiller::acquireCurrentClipProjectionAddress(SIntendedSubmitInfo& intendedNextSubmit)
568568
{
569569
if (clipProjectionAddresses.empty())
570570
return InvalidClipProjectionAddress;

0 commit comments

Comments
 (0)