X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=vg_tex.h;h=f570b11684fe367af76f8819dec2501050b5e307;hb=71cdc299d260abd83eec20748578805509d5468f;hp=5c7c7f6b26a8ca088d875b61ca96b85aa2450201;hpb=4c48fe01a5d1983be89b7dce6f08e6b708cfbb05;p=vg.git diff --git a/vg_tex.h b/vg_tex.h index 5c7c7f6..f570b11 100644 --- a/vg_tex.h +++ b/vg_tex.h @@ -2,6 +2,7 @@ #ifndef VG_TEX_H #define VG_TEX_H +#define VG_GAME #include "vg/vg.h" #include "vg/vg_log.h" @@ -133,6 +134,9 @@ VG_STATIC void vg_tex2d_qoi( void *mem, u32 size, const char *name ) } } +/* + * TODO: This blocks while we read from file + */ VG_STATIC GLuint vg_tex2d_rgba( const char *path ) { GLuint texture_name = vg_tex2d_new();