Jump to content
  • Advertisement
Sign in to follow this  
tiberiu11

OpenGL OpenGL 3

This topic is 2958 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

I need a simple OpenGL 3.0 or higher example drawing a line, nothing more complicated. I managed to Get OpenGL 3.2 loaded correctly, but the line does not display, if I set clear it works well, just the line doesn't. Please help.

Share this post


Link to post
Share on other sites
Advertisement
So make sure you aren't using any of the commands on this Qucik Reference card that are drawn in Blue text:
http://www.khronos.org/files/opengl-quick-reference-card.pdf. Basically if you're not using VAOs (vertex array objects) and VBOs (vertex buffer objects) then it's not in the OpenGL 3.0+ standard.

A good way to keep honest is to download a pure 3.2 opengl header (Available somewhere on opengl.org)

But otherwise post your code.

-me

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!