diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-04-22 16:41:54 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-04-22 17:04:50 (GMT) |
commit | 5a7f626f3c6d5d5e2ceaa2c7db9de5b51deca637 (patch) | |
tree | 85fa6141961f255caae2264838774fc2a38919b3 /mkspecs/cygwin-g++ | |
parent | cb14e8b90c71afb851c3165fc009e4fa11dd04c9 (diff) | |
download | Qt-5a7f626f3c6d5d5e2ceaa2c7db9de5b51deca637.zip Qt-5a7f626f3c6d5d5e2ceaa2c7db9de5b51deca637.tar.gz Qt-5a7f626f3c6d5d5e2ceaa2c7db9de5b51deca637.tar.bz2 |
Unify IDirectFBSurface->Lock() calls
Certain compilers warns on this kind of code:
uchar *mem = ...;
(void**)(&mem)
dereferencing type punned pointer etc.
Since we had this for every call to Lock I put it all into a convenience
function. Also fix some issues where we memcpy'ed more bytes than
necessary (when stride != w * depth() / 8) and fix issue with
QDirectFBScreen::solidFill with pixelFormat == RGB32
Reviewed-by: Donald <qt-info@nokia.com>
Diffstat (limited to 'mkspecs/cygwin-g++')
0 files changed, 0 insertions, 0 deletions