summaryrefslogtreecommitdiff
path: root/include/vcl/opengl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-08 14:42:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-09 07:14:34 +0100
commit97e47e7b004945d3ac28a9262df371ca2faf1903 (patch)
tree5bab8b1cc8961c906c96e0438a9128ad7a0e1549 /include/vcl/opengl
parentba43b0cb7a62f34fcda214d43122c7c66df2e5a0 (diff)
loplugin:constantparam in vcl
Change-Id: I1618280494ff10d884a3285501303c6a74ef3542 Reviewed-on: https://gerrit.libreoffice.org/50951 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/opengl')
-rw-r--r--include/vcl/opengl/OpenGLHelper.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/vcl/opengl/OpenGLHelper.hxx b/include/vcl/opengl/OpenGLHelper.hxx
index 23b9b79a361c..ab3eca6d3acf 100644
--- a/include/vcl/opengl/OpenGLHelper.hxx
+++ b/include/vcl/opengl/OpenGLHelper.hxx
@@ -56,10 +56,8 @@ public:
/**
* The caller is responsible for allocate the memory for the RGBA buffer, before call
* this method. RGBA buffer size is assumed to be 4*width*height.
- * Since OpenGL uses textures flipped relative to BitmapEx storage this method
- * also adds the possibility to mirror the bitmap vertically at the same time.
**/
- static void ConvertBitmapExToRGBATextureBuffer(const BitmapEx& rBitmapEx, sal_uInt8* o_pRGBABuffer, const bool bFlip = false);
+ static void ConvertBitmapExToRGBATextureBuffer(const BitmapEx& rBitmapEx, sal_uInt8* o_pRGBABuffer);
static BitmapEx ConvertBGRABufferToBitmapEx(const sal_uInt8* const pBuffer, long nWidth, long nHeight);
static void renderToFile(long nWidth, long nHeight, const OUString& rFileName);