fix movement bugs
[fishladder.git] / vg / vg.h
diff --git a/vg/vg.h b/vg/vg.h
index bf3a0a0224166961d968560d04e2e1cd41dc8f90..53670b24ad93f6034b9f87111f3585a60b11de75 100644 (file)
--- a/vg/vg.h
+++ b/vg/vg.h
@@ -7,14 +7,18 @@
 #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"
 
@@ -135,7 +139,7 @@ static void vg_init( int argc, char *argv[], const char *window_name )
 {
 #ifdef VG_STEAM
        // Initialize steamworks
-       if( !sw_init( 1218140U ) )
+       if( !sw_init( VG_STEAM_APPID ) )
        {
                vg_exiterr( "Steamworks failed to initialize" );
        }