diff options
author | Uli Schlachter <psychon@znc.in> | 2012-01-28 22:35:15 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-31 04:56:04 +0100 |
commit | 9464458098da637aa642917c782fa56bc9682802 (patch) | |
tree | 5d67a252d4a59afaaeb2ff7a59448006c0148f94 /tests/auto/gui/image/qpixmap | |
parent | 98d34beb03018f9a0dcc371f9acabc40d9fdacce (diff) |
xcb: Check for SHM extension before using it
If we call any xcb_shm_*() function, libxcb will have to figure out
SHM's major number. However, if that fails because the SHM extension is
not available, xcb will disconnect from the server. Obviously, that's
not what we want and must be avoided.
Change-Id: I8eba5ff9e84e0e2017a5c0d88fda4efd0459bd1e
Signed-off-by: Uli Schlachter <psychon@znc.in>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'tests/auto/gui/image/qpixmap')
0 files changed, 0 insertions, 0 deletions