co-maps/libs/drape/drape_tests/dummy_texture.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
361 B
C++
Raw Permalink Normal View History

2025-11-22 13:58:55 +01:00
#pragma once
#include "drape/pointers.hpp"
#include "drape/texture.hpp"
class DummyTexture : public dp::Texture
{
public:
ref_ptr<ResourceInfo> FindResource(Key const & key)
{
bool dummy = false;
return FindResource(key, dummy);
}
virtual ref_ptr<ResourceInfo> FindResource(Key const & /*key*/, bool & /*newResource*/) { return nullptr; }
};