| Index: src/gpu/gl/GrGLGpu.cpp
|
| diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
|
| index dedd449edd018c4d6e4bef5042bc9b7c99ff11ea..91201009668b2772edce756570920b4c12018a0f 100644
|
| --- a/src/gpu/gl/GrGLGpu.cpp
|
| +++ b/src/gpu/gl/GrGLGpu.cpp
|
| @@ -361,9 +361,7 @@ void GrGLGpu::onResetContext(uint32_t resetBits) {
|
| }
|
| }
|
|
|
| -namespace {
|
| -
|
| -GrSurfaceOrigin resolve_origin(GrSurfaceOrigin origin, bool renderTarget) {
|
| +static GrSurfaceOrigin resolve_origin(GrSurfaceOrigin origin, bool renderTarget) {
|
| // By default, GrRenderTargets are GL's normal orientation so that they
|
| // can be drawn to by the outside world without the client having
|
| // to render upside down.
|
| @@ -374,8 +372,6 @@ GrSurfaceOrigin resolve_origin(GrSurfaceOrigin origin, bool renderTarget) {
|
| }
|
| }
|
|
|
| -}
|
| -
|
| GrTexture* GrGLGpu::onWrapBackendTexture(const GrBackendTextureDesc& desc) {
|
| if (!this->configToGLFormats(desc.fConfig, false, NULL, NULL, NULL)) {
|
| return NULL;
|
|
|