xserver-multidpi/hw/xfree86/dri2
Michal Srb 3dba171f5e dri2: Fix detection of wrong prime_id in GetScreenPrime.
Checking the iterating variable ("slave") against null can not detect if the
xorg_list_for_each_entry finished without break being invoked - slave variable
will be always non-null. This caused segfault whenever someone tried to use
DRI_PRIME with incorrect id while having at least one render offloading slave
configured.

Restructurize the GetScreenPrime to work as expected.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2014-05-22 16:27:44 -07:00
..
dri2.c dri2: Fix detection of wrong prime_id in GetScreenPrime. 2014-05-22 16:27:44 -07:00
dri2.h dri2: Add DRI2CreateDrawable2. 2012-07-12 15:08:37 -07:00
dri2ext.c dri2: Disable when Xinerama is active 2013-12-09 13:20:36 -05:00
dri2int.h Move DRI2 from external module to built-in 2012-07-10 00:31:01 -07:00
Makefile.am Move DRI2 from external module to built-in 2012-07-10 00:31:01 -07:00