We get it. We use ad blockers too. But GameDev.net needs to display ads in order to continue to be a great platform for you.
Please whitelist GameDev.net. We take safe browsing seriously and review our ads on a regular basis.
Also consider a GDNet+ subscription to remove bulk/3rd party ads.
Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
14 February 2013 - 01:40 AM
You can use something like SDL for the other stuff.
14 February 2013 - 01:38 AM
I actually ran into this problem a while ago myself.
I think you need to use something like GLEW and just make a call to
but this might be just if you are using the modern graphics technique of shaders.
And yah, your draw code should ideally be in your while loop.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC