aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLAssembleInterface.cpp
diff options
context:
space:
mode:
authorGravatar scroggo <scroggo@google.com>2014-07-02 15:00:07 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-02 15:00:07 -0700
commitc2dcf4a4a56027fd9129c1f170b79fb1af63011f (patch)
tree15149ea2cd39b27f2bf4fe138f10b5da4f06ccdb /src/gpu/gl/GrGLAssembleInterface.cpp
parent0e3fac215d0ee2e2efaca69b7d53f636f4fe5ba7 (diff)
Check pixelRef before attempting to ktx encode.
If there is no pixelRef, do not attempt to dereference it. This was caught running on Android, where we don't have the resources folder (tracked in b/14406768). We fail to decode anything, and then attempt to encode an SkBitmap without a pixelRef. R=krajcevski@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/362413005
Diffstat (limited to 'src/gpu/gl/GrGLAssembleInterface.cpp')
0 files changed, 0 insertions, 0 deletions