aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/SkNullGLContext.cpp
blob: 576ee526f19811843265cf17ece837271b5c3940 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

/*
 * 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"

const GrGLInterface* SkNullGLContext::createGLContext(GrGLStandard forcedGpuAPI) {
    if (kGLES_GrGLStandard == forcedGpuAPI) {
        return NULL;
    }
    return GrGLCreateNullInterface();
};