qml tool: Fix incorrect mapping of --transparent to MSAA
Change-Id: Ief9f12c1b3dfab928b110278c1d49abb1028efe0 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
This commit is contained in:
parent
3bc05bf7f4
commit
e936e466a5
|
@ -382,7 +382,7 @@ int main(int argc, char *argv[])
|
|||
surfaceFormat.setStencilBufferSize(8);
|
||||
if (requestMSAA)
|
||||
surfaceFormat.setSamples(4);
|
||||
if (requestMSAA)
|
||||
if (requestAlphaChannel)
|
||||
surfaceFormat.setAlphaBufferSize(8);
|
||||
if (qEnvironmentVariableIsSet("QSG_CORE_PROFILE")
|
||||
|| qEnvironmentVariableIsSet("QML_CORE_PROFILE")
|
||||
|
|
Loading…
Reference in New Issue