summaryrefslogtreecommitdiff
path: root/progs/tests/vpwarpmesh.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-03-17 10:17:04 -0600
committerBrian Paul <brianp@vmware.com>2010-03-17 10:17:06 -0600
commita196a5d3303a49c5f79a283f91f8e0cc8aa87f69 (patch)
treefa5e812212d289ca97a775f193082a889fac525d /progs/tests/vpwarpmesh.c
parentef92fe85de114cb50ca4b3070d0594aade54526c (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/tests/vpwarpmesh.c')
0 files changed, 0 insertions, 0 deletions