textures working on web, separation of vertex and index buffers (actually matters)
This commit is contained in:
@ -18,13 +18,9 @@ void game_tick(void) {
|
||||
struct state *state = ctx.udata;
|
||||
++state->counter;
|
||||
|
||||
m_sprite("nothing!",
|
||||
(Rect) {
|
||||
.x = 0,
|
||||
.y = 0,
|
||||
.w = 32,
|
||||
.h = 32,
|
||||
}
|
||||
m_sprite("twn.png",
|
||||
(Rect) { .w = 128, .h = 64, },
|
||||
m_opt(stretch, true)
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user