Jump to content
  • Advertisement
Sign in to follow this  

glGetError() solved my problem ??

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

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!