metasurf
diff examples/metaballs/src/sdr.c @ 2:9ab057fba0c5
added copyright statements, added comments, yada yada
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 25 Oct 2011 08:59:07 +0300 |
parents | 7aa4627e492b |
children |
line diff
1.1 --- a/examples/metaballs/src/sdr.c Tue Oct 25 07:57:07 2011 +0300 1.2 +++ b/examples/metaballs/src/sdr.c Tue Oct 25 08:59:07 2011 +0300 1.3 @@ -1,3 +1,5 @@ 1.4 +#ifndef NO_SHADERS 1.5 + 1.6 #include <stdio.h> 1.7 #include <stdlib.h> 1.8 #include <string.h> 1.9 @@ -327,3 +329,5 @@ 1.10 { 1.11 glVertexAttrib3f(attr_loc, x, y, z); 1.12 } 1.13 + 1.14 +#endif /* !NO_SHADERS */