changeset 1223:ba2d708ee116

Removed some incorrect comments in the "dc" driver that survived the initial cut-and-paste from the dummy video skeleton.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 04 Jan 2006 19:25:18 +0000
parents 09c1408645df
children f033d9589ca1
files src/video/dc/SDL_dcevents.c src/video/dc/SDL_dcvideo.c
diffstat 2 files changed, 1 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/dc/SDL_dcevents.c	Wed Jan 04 01:08:40 2006 +0000
+++ b/src/video/dc/SDL_dcevents.c	Wed Jan 04 19:25:18 2006 +0000
@@ -30,9 +30,6 @@
  "@(#) $Id$";
 #endif
 
-/* Being a null driver, there's no event stream. We just define stubs for
-   most of the API. */
-
 #include "SDL.h"
 #include "SDL_sysevents.h"
 #include "SDL_events_c.h"
--- a/src/video/dc/SDL_dcvideo.c	Wed Jan 04 01:08:40 2006 +0000
+++ b/src/video/dc/SDL_dcvideo.c	Wed Jan 04 19:25:18 2006 +0000
@@ -30,21 +30,6 @@
  "@(#) $Id$";
 #endif
 
-/* Dummy SDL video driver implementation; this is just enough to make an
- *  SDL-based application THINK it's got a working video driver, for
- *  applications that call SDL_Init(SDL_INIT_VIDEO) when they don't need it,
- *  and also for use as a collection of stubs when porting SDL to a new
- *  platform for which you haven't yet written a valid video driver.
- *
- * This is also a great way to determine bottlenecks: if you think that SDL
- *  is a performance problem for a given platform, enable this driver, and
- *  then see if your application runs faster without video overhead.
- *
- * Initial work by Ryan C. Gordon (icculus@linuxgames.com). A good portion
- *  of this was cut-and-pasted from Stephane Peter's work in the AAlib
- *  SDL video driver.  Renamed to "DC" by Sam Lantinga.
- */
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -170,7 +155,7 @@
 
 int DC_VideoInit(_THIS, SDL_PixelFormat *vformat)
 {
-	/* Determine the screen depth (use default 8-bit depth) */
+	/* Determine the screen depth (use default 16-bit depth) */
 	/* we change this during the SDL_SetVideoMode implementation... */
 	vformat->BitsPerPixel = 16;
 	vformat->Rmask = 0x0000f800;