blob: 576ee526f19811843265cf17ece837271b5c3940 [file] [log] [blame]
bsalomon@google.com74913722011-10-27 20:44:19 +00001
2/*
3 * Copyright 2011 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
tomhudson@google.com6bf38b52012-02-14 15:11:59 +00009#include "gl/SkNullGLContext.h"
bsalomon@google.com74913722011-10-27 20:44:19 +000010
kkinnunen80549fc2014-06-30 06:36:31 -070011const GrGLInterface* SkNullGLContext::createGLContext(GrGLStandard forcedGpuAPI) {
12 if (kGLES_GrGLStandard == forcedGpuAPI) {
13 return NULL;
14 }
bsalomon@google.com74913722011-10-27 20:44:19 +000015 return GrGLCreateNullInterface();
16};