dri_util: fail driCreateNewScreen if InitScreen is NULL
authorPaulo Zanoni <pzanoni@mandriva.com>
Thu, 13 Jan 2011 12:59:12 +0000 (04:59 -0800)
committerBrian Paul <brianp@vmware.com>
Thu, 13 Jan 2011 14:44:33 +0000 (07:44 -0700)
commitdad914f6b2e5862a5174133f11276e975867be04
treeacf0de602b9b8e2ae50b06c165d4d4ed6c02daa0
parent9277a62aa3c1b2073dcfafcf34265b4d7154f4da
dri_util: fail driCreateNewScreen if InitScreen is NULL

Without this, X doesn't start with UMS on r300g.

NOTE: This is a candidate for the 7.9 and 7.10 branches.

Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/common/dri_util.c