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

Idle callback #20

Merged
merged 2 commits into from Jun 11, 2013
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

wrapper for glutSetWindowTitle

  • Loading branch information
Tim Kuehn authored and pcwalton committed Jun 11, 2013
commit 090c096b83e85248a39479a18c1eaab6fc688348
@@ -111,7 +111,7 @@ pub fn set_window(window: Window) {
}
}

pub fn set_window_title(window: Window, title: ~str) {
pub fn set_window_title(window: Window, title: &str) {
unsafe {
let bytes = to_bytes(title);
glutSetWindowTitle(to_ptr(bytes) as *c_char);
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.