So windib became the default video driver after SDL 1.2.8. I wonder if
the F10 bug is related to the DirectX problems that lead to the switch.
SVN shows the change was made on January 1, 2006 (r1742) and DirectInput
was part of the problem.
Lenard
sy12 wrote:
Yes, with Windows XP, using os.environ["SDL_VIDEODRIVER"] = "windib"
just before pygame.display.init(), the F10 key behaves the same with
pygame 1.7.1 and pygame 1.8.1 (I have Python 2.4 with pygame 1.7.1 and
Python 2.5 with pygame 1.8.1 so I can switch quickly between both
versions). Thank you.
Note: without the SDL_VIDEODRIVER line, pygame.display.get_driver()
returns "directx" with pygame 1.7.1 and pygame 1.8.1, even if the
behavior with F10 is not the same.