src/gpu/ganesh/gl/egl/GrGLMakeNativeInterface_egl.cpp
raw| 1 | /* |
| 2 | * Copyright 2021 Google LLC |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #include "include/gpu/ganesh/gl/GrGLInterface.h" |
| 9 | #include "include/gpu/ganesh/gl/egl/GrGLMakeEGLInterface.h" |
| 10 | |
| 11 | #if !defined(SK_DISABLE_LEGACY_GL_MAKE_NATIVE_INTERFACE) |
| 12 | sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { return GrGLMakeEGLInterface(); } |
| 13 | #endif |