2 // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
7 // Image.h: Implements the rx::Image class, an abstract base class for the
8 // renderer-specific classes which will define the interface to the underlying
9 // surfaces or resources.
11 #include "libGLESv2/renderer/d3d/ImageD3D.h"
20 ImageD3D *ImageD3D::makeImageD3D(Image *img)
22 ASSERT(HAS_DYNAMIC_TYPE(rx::ImageD3D*, img));
23 return static_cast<rx::ImageD3D*>(img);