projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sfd
[carveJwlIkooP6JGAAIwe30JlM.git]
/
scene.h
diff --git
a/scene.h
b/scene.h
index cd1a8ea10689b5eb0c9303209b43dfa0b2c35ff3..81d00c3f5c94c06f15ea1be92e80fbb69038a42f 100644
(file)
--- a/
scene.h
+++ b/
scene.h
@@
-247,7
+247,7
@@
VG_STATIC void scene_upload( scene *pscene, glmesh *mesh )
glEnableVertexAttribArray( 0 );
/* 1: normal */
- glVertexAttribPointer( 1,
3
, GL_BYTE, GL_TRUE,
+ glVertexAttribPointer( 1,
4
, GL_BYTE, GL_TRUE,
stride, (void *)offsetof(scene_vert, norm) );
glEnableVertexAttribArray( 1 );