Jump to content
  • Advertisement
Sign in to follow this  
glmisscelan

glGetError() solved my problem ??

This topic is 3683 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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!