ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-5.01.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 }