Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd some constants and functions. #62
Merged
+19
−2
Conversation
glx.rs
Outdated
| pub fn glXCreatePixmap(dpy: *Display, config: GLXFBConfig, pixmap: Pixmap, attribList: *c_int) | ||
| -> GLXPixmap; | ||
|
|
||
| pub fn glXDestroyPixmap(dpy: *Display, pixmap: GLXPixmap); | ||
|
|
||
| // For GLX < 1.3 |
This comment has been minimized.
This comment has been minimized.
pcwalton
Dec 16, 2013
Contributor
Interesting, I didn't know what the difference was. Thanks for the comment!
|
Lars and I discussed in IRC that we should only have hte 1.3+ code paths and probably leave around any comments needed to steer people away from things that are < 1.3 that won't work with the new stuff. |
…ersions to use them.
|
r? @metajack |
This comment has been minimized.
This comment has been minimized.
metajack
commented on f323af0
Jan 13, 2014
|
r+ |
metajack
added a commit
that referenced
this pull request
Jan 13, 2014
Add some constants and functions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
larsbergstrom commentedDec 16, 2013
Needs some discussion with @metajack
This set of changes fixes Linux NVidia (and properly uses the same X11 display connection for X pixmaps).