summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-18 14:32:55 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-02-18 14:45:24 (GMT)
commit64158ff163a53ff97d8ae211b0bddaae346f0f7c (patch)
treed8a66751f153596733935e2bf06d6495d481c177 /src/opengl/gl2paintengineex
parent756247373da4ea4142862df4156249230c013161 (diff)
downloadQt-64158ff163a53ff97d8ae211b0bddaae346f0f7c.zip
Qt-64158ff163a53ff97d8ae211b0bddaae346f0f7c.tar.gz
Qt-64158ff163a53ff97d8ae211b0bddaae346f0f7c.tar.bz2
Fix warnings on gcc
Gcc warns if declaration and initialization order are different. Reviewed-by: Samuel
Diffstat (limited to 'src/opengl/gl2paintengineex')
-rw-r--r--src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
index 16682ce..d4932be 100644
--- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
+++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h
@@ -174,11 +174,11 @@ public:
width(0), height(0),
ctx(0),
useSystemClip(true),
+ elementIndicesVBOId(0),
snapToPixelGrid(false),
addOffset(false),
inverseScale(1),
- lastMaskTextureUsed(0),
- elementIndicesVBOId(0)
+ lastMaskTextureUsed(0)
{ }
~QGL2PaintEngineExPrivate();