We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f3d74e commit bb7b6e6Copy full SHA for bb7b6e6
include/gf/RenderStates.h
@@ -96,7 +96,7 @@ inline namespace v1 {
96
*/
97
inline
98
bool operator==(const RenderStates& lhs, const RenderStates& rhs) {
99
- return lhs.mode == rhs.mode && lhs.transform == rhs.transform && lhs.texture == rhs.texture && lhs.shader == rhs.shader;
+ return lhs.mode == rhs.mode && lhs.transform == rhs.transform && lhs.texture[0] == rhs.texture[0] && lhs.texture[1] == rhs.texture[1] && lhs.shader == rhs.shader;
100
}
101
102
#ifndef DOXYGEN_SHOULD_SKIP_THIS
0 commit comments