Jump to content
GameDev.net Posting Guidelines (please read before posting)
For Beginners Forum FAQs (please read before posting)
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 03 October 2012 - 03:28 AM
Posted 03 October 2012 - 03:58 AM
Posted 03 October 2012 - 05:23 AM
Thanks for the fast reply!
The problem appears to be a mismatch between the format of the bitmap and the format passed to glTexImage2D, although I note that my copy of the OpenGL Programmer's Reference says that GL_BGR_EXT is not a valid value for the second format parameter of glTexImage2D (I think you want GL_BGR instead of GL_BGR_EXT.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.