mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Minor rename in skia_window_win.cpp
This commit is contained in:
parent
247a8a7174
commit
324953b2fc
@ -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()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user