testdisplay: Move the code sanitizing depth into main()
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 3 Sep 2013 13:57:31 +0000 (14:57 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 30 Sep 2013 17:04:21 +0000 (18:04 +0100)
commit0396273972076909f92429503232cff1be38e640
treea94fe4cacdb0014d181b0cc7d313546c0c3597fe
parent79f4cfedbf8f4249291c0915d040d79af97d1389
testdisplay: Move the code sanitizing depth into main()

It'll be shared by the set_mode() and set_3d_mode() functions.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
tests/testdisplay.c