diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2016-03-20 20:37:31 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2016-03-21 09:45:36 +0000 |
commit | f5a53794e188c8ee49173749578a6b81b52a82f4 (patch) | |
tree | d26a8febd713d6935f5f20df0002904735b728f6 /vcl/inc/opengl/salbmp.hxx | |
parent | 3dbcae4df48426ec6115ce4d3b5fa2afad96226b (diff) |
tdf#98324 - PNG prints as black block with OpenGL - fixed
Now the correct color palette is used.
Change-Id: If26c7cb149d1d6c24ae78137ff54669b3091fdb2
Reviewed-on: https://gerrit.libreoffice.org/23378
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/inc/opengl/salbmp.hxx')
-rw-r--r-- | vcl/inc/opengl/salbmp.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx index 4eb0b019d5b6..5a9270edd61c 100644 --- a/vcl/inc/opengl/salbmp.hxx +++ b/vcl/inc/opengl/salbmp.hxx @@ -85,6 +85,7 @@ public: bool Create( const OpenGLTexture& rTex, long nX, long nY, long nWidth, long nHeight ); OpenGLTexture& GetTexture() const; static rtl::Reference<OpenGLContext> GetBitmapContext(); + const BitmapPalette& GetBitmapPalette() const { return maPalette; } private: |