- ive added
[source lang="cpp"]SDL_GL_SetAttribute( SDL_GL_ACCELERATED_VISUAL, 1);[/source]
does not have any effect. I think it should be enough with SDL_OPENGL but just in case.
- i ve run the executable on a notebook with only one GPU and i keep getting the "GDI generic" for GL_RENDERER.
So maybe it's not an issue of having dual gpus, furthermore in case it was using the intel HD integrated graphics card i should be getting "Intel" as the GL_VENDOR right?
OK, one problem here is that you're using SDL_Delay to control framerate.
It's just some code i grabbed from the internet. I dont care right now about this.
Thanks for your time, this is the problem i want to fix!!
For your GL context problem, I'll have a look over your code later on today and see if I can spot anything (assuming someone else doesn't come up with the solution before then).