diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2015-08-29 10:27:21 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-09-01 16:28:48 +0100 |
commit | 31ae4863782b4dfb07573bb96124bb03e44837a7 (patch) | |
tree | 6676625cfeb38ad5bbbb3cd365f6af4a1ba4de07 /vcl/inc/opengl | |
parent | 33f57c485ce21964c9500f3a3d741f655fa5f371 (diff) |
gl-checksum: added a minimum size check for using GL version
(nWidth * nHeight) < (1024*768) || nWidth < 128 || nHeight < 128
Change-Id: Iedda6a333958c76c19b837890eb3fa28e631bc90
Diffstat (limited to 'vcl/inc/opengl')
-rw-r--r-- | vcl/inc/opengl/salbmp.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx index b33d69f6e0e1..0e0b0e522503 100644 --- a/vcl/inc/opengl/salbmp.hxx +++ b/vcl/inc/opengl/salbmp.hxx @@ -55,7 +55,7 @@ private: void makeCurrent(); virtual void updateChecksum() const; - bool calcChecksumGL(OpenGLTexture& rHashTexture, ChecksumType& rHash) const; + bool calcChecksumGL(OpenGLTexture& rInputTexture, ChecksumType& rChecksum) const; public: OpenGLSalBitmap(); |