mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
egl: fix tracking of priv features in check_egl_extensions
check_egl_extensions was mistakenly always ORing in the priv flags of the first feature_data entry instead of referencing the i variable to index into the array of feature data after determining that an extension is available. Signed-off-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
parent
94148717aa
commit
ffe3788b85
@ -358,7 +358,7 @@ check_egl_extensions (CoglRenderer *renderer)
|
||||
egl_renderer))
|
||||
{
|
||||
egl_renderer->private_features |=
|
||||
winsys_feature_data[0].feature_flags_private;
|
||||
winsys_feature_data[i].feature_flags_private;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user