projects
/
vg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
random
[vg.git]
/
vg_tex.h
diff --git
a/vg_tex.h
b/vg_tex.h
index 5c7c7f6b26a8ca088d875b61ca96b85aa2450201..f570b11684fe367af76f8819dec2501050b5e307 100644
(file)
--- 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();