view TOOLS/GL-test/compile.sh @ 7352:757e876d36fe

Off-by-one error allocating bitmap, when (width*height) % 8 != 0 The code was writing beyond allocated memory, and could corrupt malloc heap.
author jkeil
date Tue, 10 Sep 2002 12:38:19 +0000
parents 3b5f5d1c5041
children 3f3b7829dce8
line wrap: on
line source


gcc -g -O4 gltest.c ../../linux/timer-lx.o -o gltest -L/usr/X11/lib -lglut -lGL -lGLU -lX11 -lXext -lXmu -lXi -lm