Skip to content

Commit

Permalink
Disabled virtual terminal check for SVGAlib video
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 2, 2001
1 parent b5b7233 commit 6c28cfe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/video/svga/SDL_svgavideo.c
Expand Up @@ -86,6 +86,7 @@ static int SVGA_Available(void)

/* See if we are connected to a virtual terminal */
console = STDIN_FILENO;
#if 0 /* This is no longer needed, SVGAlib can switch consoles for us */
if ( console >= 0 ) {
struct stat sb;
struct vt_mode dummy;
Expand All @@ -95,6 +96,7 @@ static int SVGA_Available(void)
console = -1;
}
}
#endif /* 0 */

/* See if SVGAlib 2.0 is available */
svgalib2 = open("/dev/svga", O_RDONLY);
Expand Down Expand Up @@ -225,8 +227,8 @@ static void SVGA_UpdateVideoInfo(_THIS)
modeinfo = vga_getmodeinfo(vga_getcurrentmode());
this->info.video_mem = modeinfo->memory;
/* FIXME: Add hardware accelerated blit information */
#if 0
printf("Hardware accelerated blit: %savailable\n", modeinfo->haveblit ? "" : "not ");
#ifdef SVGALIB_DEBUG
printf("Hardware accelerated blit: %savailable\n", modeinfo->haveblit ? "" : "not ");
#endif
}

Expand Down

0 comments on commit 6c28cfe

Please sign in to comment.