compositor-drm: Fix a return value check in drm_output_switch_mode()
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 14 Dec 2012 15:37:27 +0000 (13:37 -0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 14 Dec 2012 16:27:50 +0000 (11:27 -0500)
commit2e7a3ab7cd5e8339a5a269e7101ac180b174ae30
treec22a393eed7d370c983a8e41477f50ea6e50f7fa
parent2bbb2b8bac328bcc0c32271e80b5da857916f66b
compositor-drm: Fix a return value check in drm_output_switch_mode()

gl_rederer_output_create() returns 0 on success, but drm compositor
would consider this a failure.
src/compositor-drm.c