#include <string.h>
#include <stdarg.h>
#include <ctype.h>
+#include <math.h>
#include "gl/glad/glad.h"
#include "gl/glfw3.h"
#define STB_DS_IMPLEMENTATION
-#define STB_IMAGE_IMPLEMENTATION
#include "stb/stb_ds.h"
-#include "stb/stb_image.h"
+//#define STB_IMAGE_IMPLEMENTATION
+//#include "stb/stb_image.h"
+
+#define QOI_IMPLEMENTATION
+#include "phoboslab/qoi.h"
#include "vg/vg_platform.h"
#include "vg/vg_tex.h"
#include "vg/vg_input.h"
#include "vg/vg_ui.h"
-#include "vg/vg_debug.h"
#include "vg/vg_console.h"
+#include "vg/vg_debug.h"
#include "steam/steamworks_thin.h"
vg_audio_init();
vg_register_exit( &vg_audio_free, "vg_audio_free" );
-
+
+ vg_debugtools_setup();
+
// Main gameloop
while( !glfwWindowShouldClose( vg_window ) )
{
vg_ui();
vg_console_draw();
+ vg_debugtools_draw();
ui_resolve( &ui_global_ctx );
m3x3f view = M3X3_IDENTITY;