diff options
author | Kenneth Graunke <[email protected]> | 2012-08-06 15:12:07 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-08-08 17:15:21 -0700 |
commit | 68bccc40f55aee7f4af8eb64b15a95f0b49d6a17 (patch) | |
tree | 53ba40c121221f2c65d5fa873134303f7df6f90e /src/glx/.gitignore | |
parent | 94f22fbe787214580a1a13a774114d2650c166cb (diff) |
glx/dri: Initialize reset to __DRI_CTX_RESET_NO_NOTIFICATION.
If the application has requested reset notification, then
dri2_convert_glx_attribs will initialize this to the correct value.
Otherwise, it's supposed to initialize this to NO_NOTIFICATION, but
doesn't when num_attribs == 0. (The consensus seems to be that we
should make it do so, but that's more invasive, so I'm pushing this for
now.)
Fixes a regression since a8724d85f8cb2f0fb73b9c6c1f268f9084c6d473
where trying to run OilRush_x86 or apitrace heaven_x64 would result in:
dri_util.c:221: dri2CreateContextAttribs: Assertion `!"Should not get
here."' failed.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53076
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/glx/.gitignore')
0 files changed, 0 insertions, 0 deletions