summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
blob: 6a0f475d9a49c57a572e1f8bdaf9999c998fbc61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <stdio.h>
#include <stdbool.h>
//#include "SDL2/SDL.h"
//#include "SDL2/SDL_syswm.h"
//#include "bgfx/c99/bgfx.h"

#include "rodeo.h"

Rodeo__data_t _state = {0};
Rodeo__data_t *state = &_state;

int
main()
{
	Rodeo__init_window(state, 480, 640, "Rodeo Window");

	while(!state->quit)
	{
		Rodeo__begin(state);

		Rodeo__draw_debug_text(1, 1, "Debug %s Test", "Text");

		Rodeo__end(state);
	}

	Rodeo__deinit_window(state);
	Rodeo__quit();
	return 0;
}