summaryrefslogtreecommitdiff
path: root/progs/samples/copy.c
AgeCommit message (Collapse)Author
2010-03-17progs/samples: improve copy.c demoBrian Paul
If the test image was larger than the window, nothing was drawn because of invalid raster position. Use glWindowPos instead of glRasterPos. Also, use integer src/dst coordinates to avoid grabbing black pixels outside of the src image region.
1999-08-19Initial revisionjtg