projects
/
demo_prior
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- moved fbtex to post.c, made it a ping-pong buffer, added fbos for it.
[demo_prior]
/
src
/
texture.c
diff --git
a/src/texture.c
b/src/texture.c
index
c0a80b2
..
32e5c2b
100644
(file)
--- a/
src/texture.c
+++ b/
src/texture.c
@@
-18,6
+18,7
@@
static unsigned int gl_type[] = {
GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE, GL_UNSIGNED_BYTE, GL_FLOAT, GL_FLOAT, GL_FLOAT, GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT_5_6_5
};
+
struct texture *load_texture(const char *fname)
{
struct img_pixmap img;