still not working

This commit is contained in:
Lauren Budorick
2014-08-07 12:49:04 -07:00
parent 560cc112e1
commit ec7f7de5c4
9 changed files with 59 additions and 19 deletions

View File

@@ -141,7 +141,6 @@ private:
void updateTiles();
void updateRenderState();
void updateRenderState(const mat4 vtxMatrix);
size_t countLayers(const std::vector<LayerDescription>& layers);

View File

@@ -29,6 +29,7 @@ private:
GLint previous_fbo = 0;
GLuint fbo = 0;
GLuint texture = 0;
GLuint fbo_depth_stencil = 0;
};
}

View File

@@ -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:
};
}

View File

@@ -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;