mirror of
https://github.com/edubart/otclient.git
synced 2025-12-02 16:06:51 +01:00
render improvments using some cache
This commit is contained in:
@@ -58,10 +58,6 @@
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/any.hpp>
|
||||
|
||||
#ifndef nullptr
|
||||
#define nullptr NULL
|
||||
#endif
|
||||
|
||||
// global constants
|
||||
#include "const.h"
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public:
|
||||
virtual void enableBilinearFilter();
|
||||
|
||||
/// Get OpenGL texture id
|
||||
virtual uint getId() const { return m_textureId; }
|
||||
uint getId() const { return m_textureId; }
|
||||
|
||||
/// Copy pixels from OpenGL texture
|
||||
std::vector<uint8> getPixels();
|
||||
|
||||
@@ -42,4 +42,8 @@ typedef int8_t int8;
|
||||
typedef std::function<void()> SimpleCallback;
|
||||
typedef std::function<bool()> BooleanCallback;
|
||||
|
||||
#ifndef nullptr
|
||||
#define nullptr NULL
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user