Minor rename in skia_window_win.cpp

This commit is contained in:
David Capello 2015-10-09 19:48:07 -03:00
parent 247a8a7174
commit 324953b2fc

View File

@ -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()));
}