[Libreoffice-commits] core.git: canvas/source

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 31 08:15:02 UTC 2020


 canvas/source/opengl/ogl_spritedevicehelper.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit f6c69ff33baa7de72a75afbf1de1f21f82adae47
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 13:23:27 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 31 10:14:20 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: If7c189f410f08d5069edf0fc7a29057897e08388
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101617
    Tested-by: Jenkins
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/canvas/source/opengl/ogl_spritedevicehelper.cxx b/canvas/source/opengl/ogl_spritedevicehelper.cxx
index 230a34edea06..bc4651f54157 100644
--- a/canvas/source/opengl/ogl_spritedevicehelper.cxx
+++ b/canvas/source/opengl/ogl_spritedevicehelper.cxx
@@ -501,13 +501,13 @@ namespace oglcanvas
 
         class BufferContextImpl : public IBufferContext
         {
-            GLuint mnFrambufferId;
+            GLuint mnFramebufferId;
             GLuint mnDepthId;
             GLuint mnTextureId;
 
             virtual void startBufferRendering() override
             {
-                glBindFramebuffer(GL_FRAMEBUFFER, mnFrambufferId);
+                glBindFramebuffer(GL_FRAMEBUFFER, mnFramebufferId);
             }
 
             virtual void endBufferRendering() override
@@ -522,11 +522,11 @@ namespace oglcanvas
 
         public:
             explicit BufferContextImpl(const ::basegfx::B2IVector& rSize) :
-                mnFrambufferId(0),
+                mnFramebufferId(0),
                 mnDepthId(0),
                 mnTextureId(0)
             {
-                OpenGLHelper::createFramebuffer(rSize.getX(), rSize.getY(), mnFrambufferId,
+                OpenGLHelper::createFramebuffer(rSize.getX(), rSize.getY(), mnFramebufferId,
                         mnDepthId, mnTextureId);
             }
 
@@ -534,7 +534,7 @@ namespace oglcanvas
             {
                 glDeleteTextures(1, &mnTextureId);
                 glDeleteRenderbuffers(1, &mnDepthId);
-                glDeleteFramebuffers(1, &mnFrambufferId);
+                glDeleteFramebuffers(1, &mnFramebufferId);
             }
         };
     }


More information about the Libreoffice-commits mailing list