diff options
author | Nicolas Boichat <[email protected]> | 2016-08-03 21:54:22 +0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-08-23 18:08:17 +0100 |
commit | 4f3f8bb59dd98e39c363fe47a55a7f97e7df9f4b (patch) | |
tree | b620e1ae8eb397b674ab580d5b2362847b0a6486 /src/intel | |
parent | 6687037f1fdc76089f3d0ad2f4d48aa8c2263f28 (diff) |
egl/dri2: dri2_initialize: Do not reference-count TestOnly display
In the case where dri2_initialize is called with a TestOnly display,
the display is not actually initialized, so dri2_egl_display always
fails, and we cannot do any reference counting.
Fixes piglit spec@egl_khr_create_context@verify gl flavor (reproducible
with LIBGL_ALWAYS_SOFTWARE=1).
Fixes: 9ee683f877 (egl/dri2: Add reference count for dri2_egl_display)
Cc: "12.0" <[email protected]>
Reported-by: Michel Dänzer <[email protected]>
Signed-off-by: Nicolas Boichat <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/intel')
0 files changed, 0 insertions, 0 deletions