blob: e4b3d7c8b70b97ea3c5d5e6efc4a322f6ede48d0 [file] [log] [blame]
//
// Copyright (c) 2002-2014 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.
//
// SurfaceImpl.cpp: Implementation of Surface stub method class
#include "libANGLE/renderer/SurfaceImpl.h"
namespace rx
{
SurfaceImpl::SurfaceImpl(const egl::SurfaceState &state) : mState(state)
{
}
SurfaceImpl::~SurfaceImpl()
{
}
egl::Error SurfaceImpl::swapWithDamage(EGLint *rects, EGLint n_rects)
{
UNREACHABLE();
return egl::Error(EGL_BAD_SURFACE, "swapWithDamage implementation missing.");
}
} // namespace rx