Fixed deprecations
This commit is contained in:
parent
7132d84fa2
commit
b209149b9a
@ -27,6 +27,13 @@ public:
|
||||
public:
|
||||
texture_font_t* m_font = nullptr;
|
||||
texture_atlas_t* atlas = nullptr;
|
||||
|
||||
public:
|
||||
[[deprecated]] unsigned getHandle() const { return 1; }
|
||||
[[deprecated]] void load() { }
|
||||
[[deprecated]] void unload() { }
|
||||
[[deprecated]] const std::string path;
|
||||
[[deprecated]] const float size;
|
||||
};
|
||||
|
||||
} // namespace glez
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
namespace glez {
|
||||
|
||||
[[deprecated]] inline void preInit() { }
|
||||
void init(int width, int height);
|
||||
void shutdown();
|
||||
void resize(int width, int height);
|
||||
|
@ -34,6 +34,15 @@ public:
|
||||
|
||||
GLuint id;
|
||||
GLubyte* data;
|
||||
|
||||
public:
|
||||
[[deprecated]] int getWidth() const { return this->width; }
|
||||
[[deprecated]] int getHeight() const { return this->height; }
|
||||
[[deprecated]] unsigned getHandle() const { return 1; }
|
||||
[[deprecated]] bool canLoad() const { return true; }
|
||||
[[deprecated]] void load() { }
|
||||
[[deprecated]] void unload() { }
|
||||
[[deprecated]] const std::string path;
|
||||
};
|
||||
|
||||
} // namespace glez
|
||||
|
Loading…
x
Reference in New Issue
Block a user