Created
          April 6, 2015 16:00 
        
      - 
      
- 
        Save yorung/da564a42bb224b6155cd to your computer and use it in GitHub Desktop. 
    Layout shader uniform buffer from C
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | #define POS 2 | |
| glUniformBlockBinding(program, glGetUniformBlockIndex(program, "MyUBO"), POS); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment