Sign in to follow this  
phil67rpg

open gl

Recommended Posts

I have drawn two spaceships on the screen using gl_line_strip and they interact with the keyboard, the problem is they dont move at the same time,independetly of each other,the has something to do with the glClear(GL_COLOR_BUFFER_BIT)command,please let me know if you need additional information

Share this post


Link to post
Share on other sites
It is higly unlikely that your problem is related to glClear(GL_COLOR_BUFFER_BIT). That would just clear the color buffer, clearing all colors on your screen...
It is more likely that your code outside of OGL is wrong. Post a little code from where you update and control your ships.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this