finally compiling and running, text still needs rework
This commit is contained in:
@ -1,9 +1,8 @@
|
||||
#include "townengine/twn_rendering.h"
|
||||
#include "twn_rendering.h"
|
||||
#include "twn_rendering_c.h"
|
||||
#include "townengine/context.h"
|
||||
#include "townengine/util.h"
|
||||
#include "townengine/textures/internal_api.h"
|
||||
#include "twn_rendering_platform.h"
|
||||
#include "twn_engine_context_c.h"
|
||||
#include "twn_util.h"
|
||||
#include "twn_textures_c.h"
|
||||
|
||||
#include <stb_ds.h>
|
||||
|
||||
@ -103,7 +102,7 @@ void render_sprites(const struct primitive_2d primitives[],
|
||||
if (vertex_array == 0)
|
||||
vertex_array = create_vertex_buffer();
|
||||
|
||||
use_sprite_blendmode(batch.mode);
|
||||
use_texture_mode(batch.mode);
|
||||
|
||||
const t_frect dims =
|
||||
textures_get_dims(&ctx.texture_cache, primitives->sprite.texture_key);
|
||||
|
Reference in New Issue
Block a user