summaryrefslogtreecommitdiff
path: root/vcl/inc/opengl/salbmp.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-12-08 16:44:19 +0200
committerTor Lillqvist <tml@collabora.com>2015-12-08 17:03:28 +0200
commit19b53ac04df4a87735b45bf8cdc25d3b1c5bf319 (patch)
tree13c3ad56276a9d9196fffd6b2fe54fa8e65f0c12 /vcl/inc/opengl/salbmp.hxx
parente0caeaa5be754c35742cec7ddf70c9021f66f2bf (diff)
Rename OpenGLSalBitmap::makeCurrent() to makeSomeOpenGLContextCurrent()
The function does not, in any way, as far as I see, make the OpenGLSalBitmap object "current". It picks one OpenGLContext object and makes that current. So, rename it to be less misleading. Am I missing something? Change-Id: Ia9f8e2415e1075dd5892cd40140e6ad764feeaa4
Diffstat (limited to 'vcl/inc/opengl/salbmp.hxx')
-rw-r--r--vcl/inc/opengl/salbmp.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/opengl/salbmp.hxx b/vcl/inc/opengl/salbmp.hxx
index 6442f1858615..e9fd6f776719 100644
--- a/vcl/inc/opengl/salbmp.hxx
+++ b/vcl/inc/opengl/salbmp.hxx
@@ -50,7 +50,7 @@ private:
int mnBufHeight;
std::deque< OpenGLSalBitmapOp* > maPendingOps;
- void makeCurrent();
+ void makeSomeOpenGLContextCurrent();
virtual void updateChecksum() const override;
bool calcChecksumGL(OpenGLTexture& rInputTexture, ChecksumType& rChecksum) const;