Sign in to follow this  

glGetError() solved my problem ??

This topic is 3489 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

Hi, Im was having some problems using smpeg on my GL app, i got SDL_CreateYUVOverlay when i called smpeg on determinates procs of my code. I have checked the code looking for memory leaks with valgrind, i also check for gl errors with glintercept and i couldnt find anything. But looking for errors i add glGetError() just before calling SDL_GL_SwapBuffers and all my problems are gone. first i tought that glGetError called glFlush() also but if i only add glFlush to my code my problems back again. Any explication? thanks in advanced

Share this post


Link to post
Share on other sites

This topic is 3489 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.

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