summaryrefslogtreecommitdiffstats
path: root/src/script/qscriptastvisitor_p.h
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-04-22 16:41:54 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-04-22 17:04:50 (GMT)
commit5a7f626f3c6d5d5e2ceaa2c7db9de5b51deca637 (patch)
tree85fa6141961f255caae2264838774fc2a38919b3 /src/script/qscriptastvisitor_p.h
parentcb14e8b90c71afb851c3165fc009e4fa11dd04c9 (diff)
downloadQt-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 'src/script/qscriptastvisitor_p.h')
0 files changed, 0 insertions, 0 deletions