mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 18:31:55 -04:00
clarify intention of assignment
This commit is contained in:
parent
0d8e519699
commit
4874f2cd01
@ -213,7 +213,8 @@ compare_to_impl(const RenderAttrib *other) const {
|
||||
for (index = 0; index < SRS_total; index++) {
|
||||
a = (int) sa -> _stencil_render_states [index];
|
||||
b = (int) _stencil_render_states [index];
|
||||
if (compare_result = (a - b)) {
|
||||
compare_result = (a - b);
|
||||
if (compare_result) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user