slowly getting back...also, static linking
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#include "resources.h"
|
||||
#include "RESOURCE.h"
|
||||
|
||||
void resources_init(Resources* self) {
|
||||
texture_from_path_init(&self->atlas, ATLAS_PATH);
|
||||
texture_from_memory_init(&self->atlas, TEXTURE_ATLAS_SIZE, TEXTURE_ATLAS, TEXTURE_ATLAS_LENGTH);
|
||||
|
||||
for (int i = 0; i < SHADER_COUNT; i++)
|
||||
shader_init(&self->shaders[i], SHADER_DATA[i].vertex, SHADER_DATA[i].fragment);
|
||||
|
||||
Reference in New Issue
Block a user