]> git.pld-linux.org Git - packages/SDL.git/blob - SDL-svga.patch
- release 3: merge byteorder rawhide patch with big/litle endian fix.
[packages/SDL.git] / SDL-svga.patch
1 --- SDL-1.1.3/src/video/svga/SDL_svgavideo.c-root       Thu Aug  3 16:04:10 2000
2 +++ SDL-1.1.3/src/video/svga/SDL_svgavideo.c    Thu Aug  3 16:04:49 2000
3 @@ -68,7 +68,7 @@
4  
5  static int SVGA_Available(void)
6  {
7 -       /* Check to see if we are root and stdin is a virtual console */
8 +       /* Check to see if stdin is a virtual console */
9         int console;
10  
11         console = STDIN_FILENO;
12 @@ -81,7 +81,7 @@
13                         console = -1;
14                 }
15         }
16 -       return((geteuid() == 0) && (console >= 0));
17 +       return(console >= 0);
18  }
19  
20  static void SVGA_DeleteDevice(SDL_VideoDevice *device)
This page took 0.02848 seconds and 3 git commands to generate.