Trying to comprehend OpenGL
#1 Members - Reputation: 742
Posted 20 September 2012 - 02:02 PM
Even more confusing is when I run into things like this: I read online that GL_EXTENSIONS is deprecated in 3.0, so why on Earth can I still use it when I am using the latest glcorearb.h and a 4.2 core profile forward compatible context? I thought it was supposed to be removed for forward compatible contexts.
#2 Marketplace Seller - Reputation: 8909
Posted 20 September 2012 - 02:09 PM
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal
#3 Moderators - Reputation: 4633
Posted 20 September 2012 - 02:10 PM
#4 Members - Reputation: 593
Posted 22 September 2012 - 12:34 PM
Either non-conforming driver (i doubt it a bit, what GPU?) or you do not have a forward compatible context. Sure you set it up correctly (drop code)?Even more confusing is when I run into things like this: I read online that GL_EXTENSIONS is deprecated in 3.0, so why on Earth can I still use it when I am using the latest glcorearb.h and a 4.2 core profile forward compatible context? I thought it was supposed to be removed for forward compatible contexts.
Trivia: Glew uses that deprecated function which causes a crapton of errors - iirc, one has to allow use of experimental extensions to make glew use the proper functions to get around the problem.
#5 Members - Reputation: 742
Posted 23 September 2012 - 12:25 PM
Either non-conforming driver (i doubt it a bit, what GPU?) or you do not have a forward compatible context. Sure you set it up correctly (drop code)?
Trivia: Glew uses that deprecated function which causes a crapton of errors - iirc, one has to allow use of experimental extensions to make glew use the proper functions to get around the problem.
AMD HD 5850 and glGetString(GL_VERSION) is reporting a 4.2 core peofile forward-compatible context, and glGetString(GL_EXTENSIONS) still works without any errors.
#6 Members - Reputation: 593
Posted 23 September 2012 - 01:00 PM
#11 Crossbones+ - Reputation: 5143
Posted 24 September 2012 - 05:01 AM
Remember, functions are not the only things that can be deprecated, and gDEBugger is probably the best way to make sure you are not using anything that is.
L. Spiro
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums
#13 Members - Reputation: 190
Posted 27 September 2012 - 09:49 AM
Extensions are a whole different can of worms.






