blob: 586d4760c19add80df7c2076f8635d06a3b9e803 (
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);
bgfx_dbg_text_printf(0, 2, 0x6f, "Description: Initialization and debug text.");
Rodeo__end(state);
}
Rodeo__deinit_window(state);
Rodeo__quit();
return 0;
}
|