diff options
author | Erik Verbruggen <[email protected]> | 2016-07-05 10:30:01 +0200 |
---|---|---|
committer | Erik Verbruggen <[email protected]> | 2016-07-05 12:08:09 +0000 |
commit | 60a42a266a093e8091b091883ae64f82c375d68b (patch) | |
tree | 2cd86bff09c25d58854469ef92b343c746fe2fb3 | |
parent | fe4868f03ed498d604f8a17a5643b111fe5358c8 (diff) |
QSG: prevent in-struct padding
This also shrinks the class by a tiny bit, because the second bool fits
inside the padding that was added to the first bool.
Change-Id: Ifb3f3f165c5e1666e2787118de5b5fb579a573b9
Reviewed-by: Laszlo Agocs <[email protected]>
-rw-r--r-- | src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp b/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp index e4f9417574..d45a0ea75d 100644 --- a/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp +++ b/src/quick/scenegraph/coreapi/qsgbatchrenderer.cpp @@ -2771,8 +2771,8 @@ struct RenderNodeState : public QSGRenderNode::RenderState const QMatrix4x4 *m_projectionMatrix; QRect m_scissorRect; - bool m_scissorEnabled; int m_stencilValue; + bool m_scissorEnabled; bool m_stencilEnabled; }; |