projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implement setter for texture coord 2 (u,v) vertex attribute so it can be used by...
[freeglut]
/
src
/
fg_internal.h
diff --git
a/src/fg_internal.h
b/src/fg_internal.h
index
25de1db
..
2de99b1
100644
(file)
--- a/
src/fg_internal.h
+++ b/
src/fg_internal.h
@@
-371,8
+371,14
@@
struct tagSFG_Context
SFG_PlatformContext pContext; /* The window's FBConfig (X11) or device context (Windows) */
int DoubleBuffered; /* Treat the window as double-buffered */
SFG_PlatformContext pContext; /* The window's FBConfig (X11) or device context (Windows) */
int DoubleBuffered; /* Treat the window as double-buffered */
+
+ /* When drawing geometry to vertex attribute buffers, user specifies
+ * the attribute indices for vertices, normals and/or texture coords
+ * to freeglut. Those are stored here
+ */
GLint attribute_v_coord;
GLint attribute_v_normal;
GLint attribute_v_coord;
GLint attribute_v_normal;
+ GLint attribute_v_texture;
};
};