blob: 86ba25f12a8b6f07f5f3386749d512d8ab165a7a [file] [log] [blame]
//
// Copyright 2016 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ImageNULL.cpp:
// Implements the class methods for ImageNULL.
//
#include "libANGLE/renderer/null/ImageNULL.h"
#include "common/debug.h"
namespace rx
{
ImageNULL::ImageNULL(const egl::ImageState &state) : ImageImpl(state)
{
}
ImageNULL::~ImageNULL()
{
}
egl::Error ImageNULL::initialize()
{
UNIMPLEMENTED();
return egl::Error(EGL_BAD_ACCESS);
}
gl::Error ImageNULL::orphan(egl::ImageSibling *sibling)
{
UNIMPLEMENTED();
return gl::Error(GL_INVALID_OPERATION);
}
} // namespace rx