Explorar o código

Fix stbte_create_map declaration

joshhuelsman %!s(int64=10) %!d(string=hai) anos
pai
achega
7a0b46075c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      stb_tilemap_editor.h

+ 1 - 1
stb_tilemap_editor.h

@@ -339,7 +339,7 @@ enum
 // creation
 //
 
-extern stbte_tilemap *stbte_create(int map_x, int map_y, int map_layers, int spacing_x, int spacing_y, int max_tiles);
+extern stbte_tilemap *stbte_create_map(int map_x, int map_y, int map_layers, int spacing_x, int spacing_y, int max_tiles);
 // create an editable tilemap
 //   map_x      : dimensions of map horizontally (user can change this in editor), <= STBTE_MAX_TILEMAP_X
 //   map_y      : dimensions of map vertically (user can change this in editor)    <= STBTE_MAX_TILEMAP_Y