| Summary: | The frame rate fall down !!! | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vincent Vansuyt <poubelle> |
| Component: | video | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | 1.2.10 | ||
| Hardware: | x86 | ||
| OS: | Windows (XP) | ||
|
Description
Vincent Vansuyt
2006-08-30 04:24:47 UTC
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.
(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 ? |