Skip to content

Commit

Permalink
TBugFix: Network-Message relied on a debug structure.
Browse files Browse the repository at this point in the history
Not sure if this change will impact SEATBELTS=0 performance.
  • Loading branch information
Robadob committed Mar 20, 2023
1 parent d519027 commit 765ad80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/flamegpu/runtime/detail/SharedBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ struct SharedBlock {
#if !defined(FLAMEGPU_SEATBELTS) || FLAMEGPU_SEATBELTS
unsigned int curve_type_size[curve::Curve::MAX_VARIABLES];
unsigned int curve_elements[curve::Curve::MAX_VARIABLES];
unsigned int curve_count[curve::Curve::MAX_VARIABLES];
#endif
unsigned int curve_count[curve::Curve::MAX_VARIABLES];
const char* env_buffer;
#endif
#if !defined(FLAMEGPU_SEATBELTS) || FLAMEGPU_SEATBELTS
Expand Down
2 changes: 1 addition & 1 deletion include/flamegpu/runtime/detail/curve/DeviceCurve.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ class DeviceCurve {
#if !defined(FLAMEGPU_SEATBELTS) || FLAMEGPU_SEATBELTS
sm()->curve_type_size[idx] = d_curve_table->type_size[idx];
sm()->curve_elements[idx] = d_curve_table->elements[idx];
sm()->curve_count[idx] = d_curve_table->count[idx];
#endif
sm()->curve_count[idx] = d_curve_table->count[idx];
}
}
////
Expand Down

0 comments on commit 765ad80

Please sign in to comment.