Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


fip

Member Since 25 Nov 2012
Offline Last Active Jan 23 2013 05:37 AM

#5010242 dramatic fps drop when using transparent texture

Posted by fip on 13 December 2012 - 09:24 AM

Hi again,

more testing:
- 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.

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).

Thanks for your time, this is the problem i want to fix!!


PARTNERS