Commit 81380868 authored by Thomas Andersen's avatar Thomas Andersen Committed by Marge Bot
Browse files

pvr: fix overlapping comparison



The comparison here will always be true. This changes it so
height is only set if the type is not a 1D.

Fixes a warning with clang

Reviewed-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
Reviewed-by: Frank Binns's avatarFrank Binns <frank.binns@imgtec.com>
Part-of: <mesa/mesa!15514>
parent df059c67
Pipeline #539153 waiting for manual action with stages