Brian Paul
263f4322e7
progs/demos: fix glut initialization calls
...
Remove glutInitWindowPosition() calls to play nicer with window managers.
Move glutInitWindowSize() calls before glutInit() so the the default window
size can be overridden by the -geometry cmd line option.
2009-12-18 13:58:14 -07:00
Keith Whitwell
e6479c6250
demos: add some fflushes for windows
2009-02-24 12:14:50 +00:00
michal
9c22f91030
Optimize fragment program.
2007-10-27 19:04:19 +01:00
Brian
bc74cb4c0a
destroy window upon exit
2007-04-21 10:05:05 -06:00
Brian Paul
ec83f38e2e
fix bad call to FindLine()
2006-03-30 14:26:29 +00:00
Brian Paul
69441868f6
no need to enable fog or set fog mode with fragment program
2005-04-26 20:58:27 +00:00
Brian Paul
b58091a336
Add #ifdefs for extension testing (Marcello Magallon)
2005-01-09 17:00:57 +00:00
Brian Paul
244adeb639
s/DP3/DP3_SAT/ to prevent negative values
2004-12-15 00:54:17 +00:00
Keith Whitwell
180e28e6d4
Add fps output
2004-04-23 14:06:02 +00:00
Brian Paul
f6a93d3dff
use GL state vars instead of program parameters
2004-03-22 16:27:13 +00:00
Brian Paul
4e41eb1061
compute fog coord in eye space, not clip space
2004-02-17 22:00:45 +00:00
Brian Paul
9a389d4bdb
define DO_FRAGMENT_FOG=1 to test fragment program fog option
2004-02-17 17:59:59 +00:00
Brian Paul
a7e6f7ba35
exercise glDeleteProgramsARB
2004-01-13 16:17:21 +00:00
Brian Paul
b3680df593
s/DP4/DP3/
2003-08-31 19:06:10 +00:00
Brian Paul
3ca3ab0cd1
clean up usage of extension function pointers
2003-04-17 21:43:55 +00:00
Brian Paul
24339179a4
Demo of using GL_ARB_vertex/fragment_program to do per-pixel lighting.
2003-04-17 19:20:54 +00:00