diff options
Diffstat (limited to 'tests/kms')
-rw-r--r-- | tests/kms/kms-universal-planes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms/kms-universal-planes.c b/tests/kms/kms-universal-planes.c index d8e5fc48..89057bb5 100644 --- a/tests/kms/kms-universal-planes.c +++ b/tests/kms/kms-universal-planes.c | |||
@@ -212,9 +212,9 @@ int main(int argc, char *argv[]) | |||
212 | printf("Planes: %u\n", device->num_planes); | 212 | printf("Planes: %u\n", device->num_planes); |
213 | 213 | ||
214 | for (i = 0; i < device->num_planes; i++) { | 214 | for (i = 0; i < device->num_planes; i++) { |
215 | struct kms_plane *plane = device->planes[i]; | ||
216 | const char *type = NULL; | 215 | const char *type = NULL; |
217 | 216 | ||
217 | plane = device->planes[i]; | ||
218 | switch (plane->type) { | 218 | switch (plane->type) { |
219 | case DRM_PLANE_TYPE_OVERLAY: | 219 | case DRM_PLANE_TYPE_OVERLAY: |
220 | type = "overlay"; | 220 | type = "overlay"; |