[aseprite] 148/250: Minor rename in skia_window_win.cpp

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 324953b2fc8da630835c026bbc8fe8d03ddd57d8
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Oct 9 19:48:07 2015 -0300

    Minor rename in skia_window_win.cpp
---
 src/she/skia/skia_window_win.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/she/skia/skia_window_win.cpp b/src/she/skia/skia_window_win.cpp
index 956fc3f..e04260b 100644
--- a/src/she/skia/skia_window_win.cpp
+++ b/src/she/skia/skia_window_win.cpp
@@ -146,11 +146,11 @@ bool SkiaWindow::attachGL()
 {
   if (!m_glCtx) {
     try {
-      auto wglCtx = new GLContextSkia<GLContextWGL>(handle());
-      m_stencilBits = wglCtx->getStencilBits();
-      m_sampleCount = wglCtx->getSampleCount();
+      auto ctx = new GLContextSkia<GLContextWGL>(handle());
+      m_stencilBits = ctx->getStencilBits();
+      m_sampleCount = ctx->getSampleCount();
 
-      m_glCtx.reset(wglCtx);
+      m_glCtx.reset(ctx);
       m_grCtx.reset(GrContext::Create(kOpenGL_GrBackend,
                                       (GrBackendContext)m_glCtx->gl()));
     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list