summaryrefslogtreecommitdiff
path: root/glamor
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-05-27 16:58:19 +0900
committerMichel Dänzer <michel@daenzer.net>2016-05-30 16:30:43 +0900
commit84e0d5d63c393fc36e91433cd7897e776e82528c (patch)
tree3dc7a0dc7e8172e5bada6a9993dcd41d78950a0f /glamor
parent28b2c880a9dbfd91e82397a0f22482d258a8b670 (diff)
xfree86/modes: Assign xf86_config->cursor in xf86_load_cursor_image v2
Fixes a crash on startup in the radeon driver's drmmode_show_cursor() due to xf86_config->cursor == NULL, because no CRTC was enabled yet, so xf86_crtc_load_cursor_image was never called. (Also use scrn->pScreen instead of xf86ScrnToScreen(scrn)) v2: Set xf86_config->cursor at the beginning of xf86_load_cursor_image instead of at the end. Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'glamor')
0 files changed, 0 insertions, 0 deletions