Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework EGL #407

Merged
merged 1 commit into from
Apr 30, 2015
Merged

Rework EGL #407

merged 1 commit into from
Apr 30, 2015

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented Apr 29, 2015

Much cleaner implementation.


let mut configs_ids = Vec::with_capacity(num_configs as usize);
if egl.GetConfigs(display, configs_ids.as_mut_ptr(),
configs_ids.len() as ffi::egl::types::EGLint,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be configs_id.capacity() ?

tomaka added a commit that referenced this pull request Apr 30, 2015
@tomaka tomaka merged commit 735df1c into master Apr 30, 2015
@tomaka tomaka deleted the egl-rework branch April 30, 2015 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants