Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The frame rate fall down !!! #215

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

The frame rate fall down !!! #215

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 1.2.10
Reported for operating system, platform: Windows (XP), x86

Comments on the original bug report:

On 2006-08-30 04:24:47 +0000, Vincent Vansuyt wrote:

Hello,

Sorry for my english, I'm french.
I use SDL 1.2.9 with openGL and my graphic program works at 60 fps with a GeForce 2 card.

When I download and install 1.2.10 (with devCpp 4.9.9.2) without changing my source code, my frame rate fall down to 37 fps !!!

WHY ?!

P.S. : My OS is Windows 2000 pro and my compiler is MingW32 3.4.2.

On 2006-08-30 11:40:18 +0000, Ryan C. Gordon wrote:

I think this was when we switched from DirectX to Windib for stability issues. Too many video drivers had buggy DirectDraw implementations, causing system crashes, etc.

If it works for you, though, you can force the DirectX video target still, by adding this before your call to SDL_Init()...

SDL_putenv("SDL_VIDEODRIVER=directx");

Also, if you are upgrading SDL, you should use the latest release: 1.2.11 is the latest now, not 1.2.10.

--ryan.

On 2006-08-30 12:05:40 +0000, Vincent Vansuyt wrote:

(In reply to comment # 1)

I think this was when we switched from DirectX to Windib for stability issues.
Too many video drivers had buggy DirectDraw implementations, causing system
crashes, etc.

If it works for you, though, you can force the DirectX video target still, by
adding this before your call to SDL_Init()...

SDL_putenv("SDL_VIDEODRIVER=directx");

Also, if you are upgrading SDL, you should use the latest release: 1.2.11 is
the latest now, not 1.2.10.

--ryan.

Thanks for your answer !

But... I use OpenGL, not DirectX...
Why I does use "SDL_putenv("SDL_VIDEODRIVER=directx");" ?
The command "SDL_putenv("SDL_VIDEODRIVER=opengl");" exist ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant