diff src/video/windx5/SDL_dx5video.c @ 1:cf2af46e9e2a

Changes since SDL 1.2.0 release
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:50:19 +0000
parents 74212992fb08
children 8039a5b760b9
line wrap: on
line diff
--- a/src/video/windx5/SDL_dx5video.c	Thu Apr 26 16:45:43 2001 +0000
+++ b/src/video/windx5/SDL_dx5video.c	Thu Apr 26 16:50:19 2001 +0000
@@ -1684,6 +1684,7 @@
 	return(DX5_AllocDDSurface(this, surface, NULL, SDL_HWSURFACE));
 }
 
+#ifdef DDRAW_DEBUG
 void PrintSurface(char *title, LPDIRECTDRAWSURFACE3 surface, Uint32 flags)
 {
 	DDSURFACEDESC ddsd;
@@ -1717,6 +1718,7 @@
 	     		ddsd.ddpfPixelFormat.dwBBitMask);
 #endif
 }
+#endif /* DDRAW_DEBUG */
 
 static int DX5_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect,
 					SDL_Surface *dst, SDL_Rect *dstrect)