still not working
This commit is contained in:
@@ -141,7 +141,6 @@ private:
|
||||
|
||||
void updateTiles();
|
||||
void updateRenderState();
|
||||
void updateRenderState(const mat4 vtxMatrix);
|
||||
|
||||
size_t countLayers(const std::vector<LayerDescription>& layers);
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@ private:
|
||||
GLint previous_fbo = 0;
|
||||
GLuint fbo = 0;
|
||||
GLuint texture = 0;
|
||||
GLuint fbo_depth_stencil = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -28,8 +28,11 @@ public:
|
||||
|
||||
void drawRaster(RasterShader& shader, VertexBuffer &vertices, VertexArrayObject &array);
|
||||
|
||||
private:
|
||||
void drawRaster(RasterShader& shader, VertexBuffer &vertices, VertexArrayObject &array, GLuint texture);
|
||||
|
||||
Raster raster;
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <mbgl/util/transition.hpp>
|
||||
#include <mbgl/util/texturepool.hpp>
|
||||
#include <mbgl/util/image.hpp>
|
||||
#include <mbgl/renderer/prerendered_texture.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <mutex>
|
||||
@@ -25,6 +26,9 @@ public:
|
||||
// bind current texture
|
||||
void bind(bool linear = false);
|
||||
|
||||
// bind prerendered texture
|
||||
void bind(const GLuint texture);
|
||||
|
||||
// loaded status
|
||||
bool isLoaded() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user