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

sanity check in get_shader_info_log #22

Merged
merged 1 commit into from Apr 21, 2013
Merged

Conversation

@ghost
Copy link

ghost commented Apr 21, 2013

In get_shader_info_log and get_program_info_log, if opengl returns 0 for a result_len it will overflow causing result.truncate to fail!().

metajack added a commit that referenced this pull request Apr 21, 2013
sanity check in get_shader_info_log
@metajack metajack merged commit 0b9bd95 into servo:master Apr 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.