st/dri: Refactor init code a bit
authorJakob Bornecrantz <wallbraker@gmail.com>
Wed, 14 Apr 2010 20:28:12 +0000 (21:28 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Fri, 16 Apr 2010 09:17:31 +0000 (10:17 +0100)
commit39c81dada01585a6030f03d215842a1a2ae87d86
tree8fce5b6861f86b0844c1d384ace7c7748ba447c1
parent6c954dd12871aae2c34854498eaf696b67e3680b
st/dri: Refactor init code a bit

Reviewed-by: George Sapountzis <gsapountzis@gmail.com>
src/gallium/state_trackers/dri/common/dri_screen.c
src/gallium/state_trackers/dri/common/dri_screen.h
src/gallium/state_trackers/dri/drm/dri1.c
src/gallium/state_trackers/dri/drm/dri2.c
src/gallium/state_trackers/dri/sw/drisw.c