projects
/
vg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various things but also major error
[vg.git]
/
vg_tex.h
diff --git
a/vg_tex.h
b/vg_tex.h
index 1fd2d5a29cf293306ffa4c0bb19e19c17bf947e9..125b43eb9eaa3369039897010647a32b502da141 100644
(file)
--- a/
vg_tex.h
+++ b/
vg_tex.h
@@
-40,6
+40,17
@@
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "vg/submodules/stb/stb_image_write.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "vg/submodules/stb/stb_image_write.h"
+/* its a sad day. */
+#if 0
+#define STBI_MALLOC(X)
+#define STBI_REALLOC(X,Y)
+#define STBI_FREE(X)
+#endif
+
+#define STBI_ONLY_JPEG
+#define STB_IMAGE_IMPLEMENTATION
+#include "vg/submodules/stb/stb_image.h"
+
struct vg_sprite
{
v4f uv_xywh;
struct vg_sprite
{
v4f uv_xywh;