blob: 68807e7c574d5b5a819d204345ae2c7e3639d6e5 [file] [log] [blame]
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gl/SkNullGLContext.h"
SkNullGLContext::SkNullGLContext() {
fGL.reset(GrGLCreateNullInterface());
}
SkNullGLContext::~SkNullGLContext() {
fGL.reset(NULL);
}