OSDN Git Service

allocate the ARGB visuals and colormaps only if XRender is to be used
authorIvailo Monev <xakepa10@gmail.com>
Thu, 10 Nov 2022 19:54:32 +0000 (21:54 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Thu, 10 Nov 2022 20:00:27 +0000 (22:00 +0200)
commit9ab504a739935f26ac56b4d91583e0d282912238
tree317d94a0eceee9ebfad8c6afddabbc5d286bda93
parente35cd216a83b8775b2245f09ce09c0d69b77e6ab
allocate the ARGB visuals and colormaps only if XRender is to be used

they are null-checked in qt_cleanup() and used only when qt_x11Data->use_xrender
equals true

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/gui/kernel/qapplication_x11.cpp