Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/tilemapvx.cpp b/src/tilemapvx.cpp
- index bbd925d..78d9224 100644
- --- a/src/tilemapvx.cpp
- +++ b/src/tilemapvx.cpp
- @@ -118,6 +118,10 @@ struct TilemapVXPrivate : public ViewportElement, TileAtlasVX::Reader
- shState->requestAtlasTex(ATLASVX_W, ATLASVX_H, atlas);
- vbo = VBO::gen();
- + VBO::bind(vbo);
- + allocQuads = 4;
- + VBO::allocEmpty(quadBytes(allocQuads), GL_DYNAMIC_DRAW);
- + VBO::unbind();
- GLMeta::vaoFillInVertexData<SVertex>(vao);
- vao.vbo = vbo;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement