| Summary: | SDL_GL_ACCELERATED_VISUAL issues on Windows | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Matthias Bentrup <matthias.bentrup> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | CC: | icculus, SDL, thilo |
| Version: | HG 1.2 | ||
| Hardware: | x86 | ||
| OS: | Windows (All) | ||
| Attachments: | wgl acceleration patch | ||
|
Description
Matthias Bentrup
2011-05-02 03:40:00 UTC
Created attachment 609 [details]
wgl acceleration patch
*** Bug 1281 has been marked as a duplicate of this bug. *** I'm marking this as a dupe, since Bug #1254 covers this issue for both 1.2 and 1.3. --ryan. *** This bug has been marked as a duplicate of bug 1254 *** I would also like to remark that this patch of yours introduces the behaviour of SDL-1.3, where WGL_FULL_ACCELERATION_ARB is added even if no explicit requirements on hardware acceleration were made. So you will prohibit libSDL from allowing the fallback to software rendering if for some reason hardware rendering is not available. Maybe I am incorrect in my interpretation how choosing this pixelformat works. Read up on my thinking in my bug that Ryan marked to be the duplicate with this one. Ignore my first comment as it's wrong. Just read the second one and tell me what you think. Hello Thilo, your patch looks good. The semantics match the x11 implementation (0 = force accelerated mode, 1 = force software mode, -1 = allow both). I went with Thilo's patch. --ryan. |