Add texture handler
Added functionality to load images as textures and bind them to meshes.
This commit is contained in:
1 parent
0e040dd0d5
commit
4fcda01ba2
24 files changed
+897
-200
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#include "graphics/rse_graphics.h"
|
||||
#include "utilities/rse_task.h"
|
||||
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
rse_thread_t graphics_task;
|
||||
@@ -10,7 +11,8 @@ int main(int argc, char** argv)
|
||||
rse_graphics_init();
|
||||
rse_create_task(&graphics_task, (thread_worker_t)rse_graphics_run, NULL);
|
||||
|
||||
|
||||
rse_task_join(&graphics_task);
|
||||
rse_task_exit(); //TODO: Figure out why program is so much faster if we don't join the graphics_task. WTF.
|
||||
rse_task_exit();
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user