dix: Allow NULL stipple in ChangeGC
authorKeith Packard <keithp@keithp.com>
Sun, 16 Mar 2014 06:53:53 +0000 (23:53 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 Mar 2014 19:58:40 +0000 (12:58 -0700)
commitae87b536155207e6e28b68963593a7ab09792e08
treeac2427c4925f2f5d4b3be9f942f74b5f409b916f
parent2e040f41de18f4d46e649561b6efb043195fdfbe
dix: Allow NULL stipple in ChangeGC

miOpqStipDrawable resets the stipple after painting. When that stipple
was NULL, ChangeGC needs to handle that and not crash.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-off-by: Eric Anholt <eric@anholt.net>
dix/gc.c