diff src/video/SDL_surface.c @ 526:4314a501d7be

Fixed a crash blitting RLE surfaces to RLE surfaces
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Oct 2002 07:56:36 +0000
parents c7da0cd5ae5e
children 058d47b7a3b4
line wrap: on
line diff
--- a/src/video/SDL_surface.c	Fri Oct 11 07:55:22 2002 +0000
+++ b/src/video/SDL_surface.c	Fri Oct 11 07:56:36 2002 +0000
@@ -692,10 +692,6 @@
 
 /*
  * Lock a surface to directly access the pixels
- * -- Do not call this from any blit function, as SDL_DrawCursor() may recurse
- *    Instead, use:
- *    if ( (surface->flags & SDL_HWSURFACE) == SDL_HWSURFACE )
- *               video->LockHWSurface(video, surface);
  */
 int SDL_LockSurface (SDL_Surface *surface)
 {
@@ -724,10 +720,6 @@
 }
 /*
  * Unlock a previously locked surface
- * -- Do not call this from any blit function, as SDL_DrawCursor() may recurse
- *    Instead, use:
- *    if ( (surface->flags & SDL_HWSURFACE) == SDL_HWSURFACE )
- *               video->UnlockHWSurface(video, surface);
  */
 void SDL_UnlockSurface (SDL_Surface *surface)
 {