blob: 7912c3390b4e7147457005d3e90623980a554d4e [file] [log] [blame]
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkPromiseImageTexture.h"
#if defined(SK_GANESH)
SkPromiseImageTexture::SkPromiseImageTexture(const GrBackendTexture& backendTexture) {
SkASSERT(backendTexture.isValid());
fBackendTexture = backendTexture;
}
SkPromiseImageTexture::~SkPromiseImageTexture() {}
#endif // defined(SK_GANESH)