Skip to content
Commit fe06ee20 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

tests: Only copy con->modes[0] if it exists

con->modes can be NULL. Fixes crash in that case.

Closes: https://gitlab.freedesktop.org/mesa/drm/issues/34


Reviewed-by: default avatarDaniel Stone <daniels@collabora.com>
parent 8a73372e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment