cleanup + unused arguments
This commit is contained in:
@@ -32,7 +32,7 @@ public:
|
||||
|
||||
bool update();
|
||||
void prepare_render(bool is_baselayer = false);
|
||||
void render(double animationTime, bool is_baselayer = false);
|
||||
void render(double animationTime);
|
||||
|
||||
public:
|
||||
bool enabled;
|
||||
@@ -59,8 +59,8 @@ private:
|
||||
const std::vector<uint32_t> zooms;
|
||||
const std::string url;
|
||||
const uint32_t tile_size;
|
||||
const uint32_t min_zoom;
|
||||
const uint32_t max_zoom;
|
||||
const int32_t min_zoom;
|
||||
const int32_t max_zoom;
|
||||
|
||||
std::forward_list<Tile> tiles;
|
||||
std::forward_list<std::weak_ptr<TileData>> tile_data;
|
||||
|
||||
@@ -38,17 +38,19 @@
|
||||
namespace llmr {
|
||||
namespace gl {
|
||||
// Debug group markers, useful for debuggin on iOS
|
||||
inline void start_group(const std::string &str) {
|
||||
#if GL_EXT_debug_marker
|
||||
inline void start_group(const std::string &str) {
|
||||
glPushGroupMarkerEXT(0, str.c_str());
|
||||
#endif
|
||||
}
|
||||
|
||||
inline void end_group() {
|
||||
#if GL_EXT_debug_marker
|
||||
glPopGroupMarkerEXT();
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
inline void start_group(const std::string &) {}
|
||||
inline void end_group() {}
|
||||
#endif
|
||||
|
||||
|
||||
struct group {
|
||||
inline group(const std::string &str) { start_group(str); }
|
||||
|
||||
Reference in New Issue
Block a user