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>bb10
parent
8cbf402123
commit
19b8edebf5
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue