Welcome to mirror list, hosted at ThFree Co, Russian Federation.

resource.cpp « graphics - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7fd535c1a45eef4ccb5bf984461786c9d34f7a44 (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
27
28
#include "resource.hpp"

#include "opengl/data_traits.hpp"

namespace graphics
{
  bool Resource::LessThan::operator()(Info const * l,
                                      Info const * r) const
  {
    return l->lessThan(r);
  }

  Resource::Info::Info(Category cat)
    : m_category(cat)
  {}

  Resource::Resource(
      Category cat,
      m2::RectU const & texRect,
      int pipelineID)
    : m_cat(cat),
    m_texRect(texRect),
    m_pipelineID(pipelineID)
  {}

  Resource::~Resource()
  {}
}