summaryrefslogtreecommitdiff
path: root/lib/igt_kms.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2018-07-17 18:45:15 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2018-08-28 17:11:24 +0300
commitb966dd93a30f41581fe1dbf9bc1c4a29b552ca05 (patch)
tree61fa31bbbd7d8e0a62ee5f432021b8d0587355f3 /lib/igt_kms.c
parentc40743d3fce5055682d31610519758dd7379c0f8 (diff)
tests/gem_render_copy: Fix clipped height
Assign the clipped height to 'h', not 'w'. This didn't cause any problems so far because we use square buffers. Also get rid of the gcc variable shadowing warnings by not nesting the min()/max(). Fixes: aaa23eff21a1 ("tests/gem_render_copy: Use a more elaborate pattern of pixels") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Diffstat (limited to 'lib/igt_kms.c')
0 files changed, 0 insertions, 0 deletions