diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2016-01-01 12:38:37 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-01-01 12:39:58 +0000 |
commit | 3ac975dded6df870969f68ec00e8f3097c5146bf (patch) | |
tree | ed9d8c3cf623c9cc7e6bc8737d9fcd5e936a9663 /vcl/opengl | |
parent | 7120906cf47de8c5bc73de1a4846fc97fd2979dc (diff) |
Fix drawTransformedBitmap for NULL pAlphaBitmap #2.
Change-Id: Ie4d03a01c557e93a3ba3b5925896e38ed07f9a27
Diffstat (limited to 'vcl/opengl')
-rw-r--r-- | vcl/opengl/gdiimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx index 7c6664bdd7bd..c39d25ead71f 100644 --- a/vcl/opengl/gdiimpl.cxx +++ b/vcl/opengl/gdiimpl.cxx @@ -1880,7 +1880,7 @@ bool OpenGLSalGraphicsImpl::drawTransformedBitmap( const SalBitmap* pAlphaBitmap) { assert(dynamic_cast<const OpenGLSalBitmap*>(&rSrcBitmap)); - assert(dynamic_cast<const OpenGLSalBitmap*>(pAlphaBitmap)); + assert(!pAlphaBitmap || dynamic_cast<const OpenGLSalBitmap*>(pAlphaBitmap)); OpenGLZone aZone; |