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:
Robert Bragg 2011-07-05 14:03:48 +01:00
parent 94148717aa
commit ffe3788b85

View File

@ -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;
}
}