Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMausGames

Posted 31 January 2013 - 06:11 PM

Do you use glBegin and glEnd ?
Many operations are invalid between those functions - glBindTexture for example returns an GL_INVALID_OPERATION error.
Maybe glEnable and glDisable have a similar behavior.

Edit: Found an old Link to this topic: http://www.gamedev.net/topic/83150-glbindtexture-inside-of-glbegin/

Best regards
- Martin

#2MausGames

Posted 31 January 2013 - 06:04 PM

Do you use glBegin and glEnd ?
Many operations are invalid between those functions - glBindTexture for example returns an GL_INVALID_OPERATION error.
Maybe glEnable and glDisable have a similar behavior.

PS: Found an old Link to this topic: http://www.gamedev.net/topic/83150-glbindtexture-inside-of-glbegin/

Best regards
- Martin

#1MausGames

Posted 31 January 2013 - 06:02 PM

Do you use glBegin and glEnd ?

Many operations are invalid between those functions - glBindTexture for example returns an GL_INVALID_OPERATION error.

Maybe glEnable and glDisable have a similar behavior.

 

Best regards

- Martin


PARTNERS