summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-01-15 16:16:19 +0100
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-01-16 12:12:37 +0100
commit19b8edebf580f26f724a50b5e1173078dadeec95 (patch)
treedab6471d40a4a2a19b1b92992c465d5716d4ccea
parent8cbf402123285795a502b4dfafe24af799bb4887 (diff)
Make transparency test actually test transparency
The OpenGL windows should have some more obvious transparent areas in them. Change-Id: I7d000cd367208f99a79b11c341bf94062613f357 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
-rw-r--r--tests/manual/windowtransparency/windowtransparency.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/windowtransparency/windowtransparency.cpp b/tests/manual/windowtransparency/windowtransparency.cpp
index cac3449fb6..af9ccba707 100644
--- a/tests/manual/windowtransparency/windowtransparency.cpp
+++ b/tests/manual/windowtransparency/windowtransparency.cpp
@@ -86,7 +86,7 @@ public:
prog.bind();
QOpenGLFunctions *functions = gl->functions();
- functions->glClearColor(0, 0, 0, 1);
+ functions->glClearColor(0, 0, 0, 0);
functions->glClear(GL_COLOR_BUFFER_BIT);
functions->glViewport(0, 0, width(), height());