summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/angle/src/libGLESv2/renderer/d3d/ImageD3D.cpp
blob: 12b919ab5a102e47ababc160fb230c8ed4f974b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//
// Copyright (c) 2002-2012 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.
//

// Image.h: Implements the rx::Image class, an abstract base class for the
// renderer-specific classes which will define the interface to the underlying
// surfaces or resources.

#include "libGLESv2/renderer/d3d/ImageD3D.h"

namespace rx
{

ImageD3D::ImageD3D()
{
}

ImageD3D *ImageD3D::makeImageD3D(Image *img)
{
    ASSERT(HAS_DYNAMIC_TYPE(ImageD3D*, img));
    return static_cast<ImageD3D*>(img);
}

}