summaryrefslogtreecommitdiff
path: root/src/tiled.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tiled.h')
-rw-r--r--src/tiled.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tiled.h b/src/tiled.h
index e1f1c79..735c3a9 100644
--- a/src/tiled.h
+++ b/src/tiled.h
@@ -14,8 +14,8 @@ typedef struct Tiled {
int mapSize[2];
Texture2D atlasTexture;
- Texture2D tilemapTexture;
+ RenderTexture2D tilemapTexture;
RenderTexture2D targetTexture;
Shader shader;
@@ -36,3 +36,5 @@ Vector2 translateTiledScreenPosition(Tiled tiled, Vector2 tiledPos);
Tiled initTiled(TiledMap tiledMap);
void drawTiled(Tiled *tiled);
void unloadTiled(Tiled *tiled);
+void redrawTiledMap(Tiled tiled);
+