Removed some incorrect comments in the "dc" driver that survived the
authorRyan C. Gordon <icculus@icculus.org>
Wed, 04 Jan 2006 19:25:18 +0000
changeset 1223ba2d708ee116
parent 1222 09c1408645df
child 1224 f033d9589ca1
Removed some incorrect comments in the "dc" driver that survived the
initial cut-and-paste from the dummy video skeleton.
src/video/dc/SDL_dcevents.c
src/video/dc/SDL_dcvideo.c
     1.1 --- a/src/video/dc/SDL_dcevents.c	Wed Jan 04 01:08:40 2006 +0000
     1.2 +++ b/src/video/dc/SDL_dcevents.c	Wed Jan 04 19:25:18 2006 +0000
     1.3 @@ -30,9 +30,6 @@
     1.4   "@(#) $Id$";
     1.5  #endif
     1.6  
     1.7 -/* Being a null driver, there's no event stream. We just define stubs for
     1.8 -   most of the API. */
     1.9 -
    1.10  #include "SDL.h"
    1.11  #include "SDL_sysevents.h"
    1.12  #include "SDL_events_c.h"
     2.1 --- a/src/video/dc/SDL_dcvideo.c	Wed Jan 04 01:08:40 2006 +0000
     2.2 +++ b/src/video/dc/SDL_dcvideo.c	Wed Jan 04 19:25:18 2006 +0000
     2.3 @@ -30,21 +30,6 @@
     2.4   "@(#) $Id$";
     2.5  #endif
     2.6  
     2.7 -/* Dummy SDL video driver implementation; this is just enough to make an
     2.8 - *  SDL-based application THINK it's got a working video driver, for
     2.9 - *  applications that call SDL_Init(SDL_INIT_VIDEO) when they don't need it,
    2.10 - *  and also for use as a collection of stubs when porting SDL to a new
    2.11 - *  platform for which you haven't yet written a valid video driver.
    2.12 - *
    2.13 - * This is also a great way to determine bottlenecks: if you think that SDL
    2.14 - *  is a performance problem for a given platform, enable this driver, and
    2.15 - *  then see if your application runs faster without video overhead.
    2.16 - *
    2.17 - * Initial work by Ryan C. Gordon (icculus@linuxgames.com). A good portion
    2.18 - *  of this was cut-and-pasted from Stephane Peter's work in the AAlib
    2.19 - *  SDL video driver.  Renamed to "DC" by Sam Lantinga.
    2.20 - */
    2.21 -
    2.22  #include <stdio.h>
    2.23  #include <stdlib.h>
    2.24  #include <string.h>
    2.25 @@ -170,7 +155,7 @@
    2.26  
    2.27  int DC_VideoInit(_THIS, SDL_PixelFormat *vformat)
    2.28  {
    2.29 -	/* Determine the screen depth (use default 8-bit depth) */
    2.30 +	/* Determine the screen depth (use default 16-bit depth) */
    2.31  	/* we change this during the SDL_SetVideoMode implementation... */
    2.32  	vformat->BitsPerPixel = 16;
    2.33  	vformat->Rmask = 0x0000f800;