Skip to content

Commit

Permalink
Tilemap works!
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpopelyshev committed Mar 24, 2024
1 parent 71e4549 commit bd39854
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gpu_tilemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ export class GpuTilemapAdaptor extends TilemapAdaptor
renderer.encoder.draw({
geometry: tilemap.vb,
shader,
state: tilemap.state
state: tilemap.state,
size: tilemap.rects_count * 6
});
// TODO: does it need groups?
}
Expand Down

0 comments on commit bd39854

Please sign in to comment.