finally compiling and running, text still needs rework
This commit is contained in:
@ -1,10 +1,8 @@
|
||||
#include "twn_rendering_c.h"
|
||||
#include "townengine/util.h"
|
||||
#include "townengine/config.h"
|
||||
#include "townengine/context.h"
|
||||
#include "townengine/twn_rendering.h"
|
||||
|
||||
#include "twn_rendering_platform.h"
|
||||
#include "twn_rendering.h"
|
||||
#include "twn_util.h"
|
||||
#include "twn_config.h"
|
||||
#include "twn_engine_context_c.h"
|
||||
|
||||
#include <stb_truetype.h>
|
||||
|
||||
@ -66,7 +64,7 @@ static struct font_data *text_load_font_data(const char *path, int height_px) {
|
||||
}
|
||||
|
||||
font_data->texture = create_gpu_texture(TEXT_FONT_FILTERING, true);
|
||||
specify_gpu_texture(
|
||||
upload_gpu_texture(
|
||||
font_data->texture,
|
||||
bitmap,
|
||||
1,
|
||||
|
Reference in New Issue
Block a user