diff options
Diffstat (limited to 'tools/fiddle/null_context.cpp')
-rw-r--r-- | tools/fiddle/null_context.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/fiddle/null_context.cpp b/tools/fiddle/null_context.cpp new file mode 100644 index 0000000000..c331e8a98c --- /dev/null +++ b/tools/fiddle/null_context.cpp @@ -0,0 +1,13 @@ +/* + * Copyright 2015 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#include "fiddle_main.h" + +// create_grcontext for when neither Mesa nor EGL are available. +sk_sp<GrContext> create_grcontext() { + return nullptr; +} |