23 lines
522 B
C
23 lines
522 B
C
#include "graphics/rse_graphics.h"
|
|
#include "utilities/task.h"
|
|
#include "utilities/errors_common.h"
|
|
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
rse_err_t status = RSE_ERROR_NO_ERROR;
|
|
thread_t graphics_task;
|
|
struct rse_graphics_context_t* context = NULL;
|
|
(void)argc;
|
|
(void)argv;
|
|
|
|
STATUS_CHECK(rse_graphics_init(&context));
|
|
rse_graphics_test_function(context);
|
|
create_task(&graphics_task, (thread_worker_t)rse_graphics_run, context);
|
|
|
|
task_join(&graphics_task);
|
|
task_exit();
|
|
|
|
return 0;
|
|
}
|