summaryrefslogtreecommitdiffstats
path: root/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-04-17 09:18:21 (GMT)
committerTom Cooksey <thomas.cooksey@nokia.com>2009-04-17 09:18:21 (GMT)
commit534f2575a19422cff06e27b46f65c6630da6ee7f (patch)
treef1dbfca903ea539808a8a52385c1b45dbfbef140 /src/opengl/gl2paintengineex/qglengineshadermanager_p.h
parent0b37db60b856fd146727eb621c5447aff09ffc5a (diff)
downloadQt-534f2575a19422cff06e27b46f65c6630da6ee7f.zip
Qt-534f2575a19422cff06e27b46f65c6630da6ee7f.tar.gz
Qt-534f2575a19422cff06e27b46f65c6630da6ee7f.tar.bz2
Add a "shocking pink" shader for rendering into stencil buff
If you see shocking pink in the rendering output, it's probably because the "simple" shader is in use but color writes have somehow been enabled. :-)
Diffstat (limited to 'src/opengl/gl2paintengineex/qglengineshadermanager_p.h')
-rw-r--r--src/opengl/gl2paintengineex/qglengineshadermanager_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
index 38c1cff..61a62dc 100644
--- a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
+++ b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h
@@ -317,6 +317,7 @@ public:
LinearGradientBrushSrcFragmentShader,
RadialGradientBrushSrcFragmentShader,
ConicalGradientBrushSrcFragmentShader,
+ ShockingPinkSrcFragmentShader,
MaskFragmentShader,
RgbMaskFragmentShader,