- Timestamp:
- 07/13/11 19:40:12 (13 years ago)
- File:
-
- 1 edited
-
ps/trunk/source/ps/GameSetup/GameSetup.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/ps/GameSetup/GameSetup.cpp
r9814 r9819 579 579 static void InitSDL() 580 580 { 581 #if OS_LINUX 582 // In fullscreen mode when SDL is compiled with DGA support, the mouse 583 // sensitivity often appears to be unusably wrong (typically too low). 584 // (This seems to be reported almost exclusively on Ubuntu, but can be 585 // reproduced on Gentoo after explicitly enabling DGA.) 586 // Disabling the DGA mouse appears to fix that problem, and doesn't 587 // have any obvious negative effects. 588 setenv("SDL_VIDEO_X11_DGAMOUSE", "0", 0); 589 #endif 590 581 591 if(SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER|SDL_INIT_NOPARACHUTE) < 0) 582 592 {
Note:
See TracChangeset
for help on using the changeset viewer.
