Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Use glGetHandleARB to get program object
Some systems don't define the GLHandleARB as unsigned integer and thus want to get a complete pointer when calling glUseProgramObjectARB. This makes it necessary to change the program variable to GLHandleARB and replace the glGetIntegerv call to the old ARB glGetHandleARB to make sure that the returned data can be of any type and not only integer.
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters