projects
/
xscreensaver
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
http://www.jwz.org/xscreensaver/xscreensaver-5.07.tar.gz
[xscreensaver]
/
hacks
/
glx
/
gllist.c
1
#include "gllist.h"
2
3
void renderList(const struct gllist *list, int wire_p){
4
for(;list!=NULL;list=list->next){
5
glInterleavedArrays(list->format,0,list->data);
6
glDrawArrays((wire_p ? GL_LINE_LOOP : list->primitive),
7
0,list->points);
8
}
9
}