Skip to content
  • Brian Paul's avatar
    progs/samples: improve copy.c demo · a196a5d3
    Brian Paul authored
    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.
    a196a5d3