diff options
author | Brian Paul <brianp@vmware.com> | 2010-03-17 10:17:04 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-03-17 10:17:06 -0600 |
commit | a196a5d3303a49c5f79a283f91f8e0cc8aa87f69 (patch) | |
tree | fa5e812212d289ca97a775f193082a889fac525d /progs/trivial/clear-undefined.c | |
parent | ef92fe85de114cb50ca4b3070d0594aade54526c (diff) |
progs/samples: improve copy.c demo
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.
Diffstat (limited to 'progs/trivial/clear-undefined.c')
0 files changed, 0 insertions, 0 deletions