aboutsummaryrefslogtreecommitdiffstats
path: root/model.h
diff options
context:
space:
mode:
Diffstat (limited to 'model.h')
-rw-r--r--model.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/model.h b/model.h
index 33db3b4..182faea 100644
--- a/model.h
+++ b/model.h
@@ -7,11 +7,10 @@
#include "gl.h"
#include "fmd.h"
+#include "mtl.h"
struct mesh {
- struct material {
- GLuint diffuse;
- } *mtl;
+ mtlidx mtl;
struct {
GLuint idx;
GLuint cnt;