sokol: studio impl wip

This commit is contained in:
Vadim Grigoruk
2018-09-27 18:25:14 +03:00
parent 9507749ff1
commit f002911f22
5 changed files with 116 additions and 45 deletions

25
src/system/sokol.c Normal file
View File

@@ -0,0 +1,25 @@
#include "sokol_app.h"
#include "sokol_gfx.h"
#include "sokol_time.h"
#include "sokol_audio.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <tic80.h>
sapp_desc sokol_main(int argc, char* argv[])
{
return (sapp_desc) {0};
// .init_cb = app_init,
// .frame_cb = app_frame,
// .event_cb = app_input,
// .cleanup_cb = app_cleanup,
// .width = 3 * TIC80_FULLWIDTH,
// .height = 3 * TIC80_FULLHEIGHT,
// .window_title = "TIC-80 with Sokol renderer",
// .ios_keyboard_resizes_canvas = true
// };
}