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>
This commit is contained in:
Laszlo Agocs 2015-01-15 16:16:19 +01:00
parent 8cbf402123
commit 19b8edebf5

View File

@ -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());