]> git.saurik.com Git - wxWidgets.git/commit - src/common/imagtiff.cpp
Call GetAlpha() to get a pointer instead of checking for alpha first.
authorDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 28 Aug 2011 21:27:34 +0000 (21:27 +0000)
committerDimitri Schoolwerth <dimitri.schoolwerth@gmail.com>
Sun, 28 Aug 2011 21:27:34 +0000 (21:27 +0000)
commitc6973babc6d9d13583e318196bce44ee56cdfab1
treebf709152012001590b16896cbc67a18c65fd6823
parent2824962c5ab69c7fef145e75c0b1ff9cebfa51e7
Call GetAlpha() to get a pointer instead of checking for alpha first.

It's safe to call GetAlpha() even if there's no alpha because in that case NULL will be returned.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/imagtiff.cpp