Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
0:74212992fb08 | 1:cf2af46e9e2a |
---|---|
1682 return(-1); | 1682 return(-1); |
1683 } | 1683 } |
1684 return(DX5_AllocDDSurface(this, surface, NULL, SDL_HWSURFACE)); | 1684 return(DX5_AllocDDSurface(this, surface, NULL, SDL_HWSURFACE)); |
1685 } | 1685 } |
1686 | 1686 |
1687 #ifdef DDRAW_DEBUG | |
1687 void PrintSurface(char *title, LPDIRECTDRAWSURFACE3 surface, Uint32 flags) | 1688 void PrintSurface(char *title, LPDIRECTDRAWSURFACE3 surface, Uint32 flags) |
1688 { | 1689 { |
1689 DDSURFACEDESC ddsd; | 1690 DDSURFACEDESC ddsd; |
1690 | 1691 |
1691 /* Lock and load! */ | 1692 /* Lock and load! */ |
1715 ddsd.ddpfPixelFormat.dwRBitMask, | 1716 ddsd.ddpfPixelFormat.dwRBitMask, |
1716 ddsd.ddpfPixelFormat.dwGBitMask, | 1717 ddsd.ddpfPixelFormat.dwGBitMask, |
1717 ddsd.ddpfPixelFormat.dwBBitMask); | 1718 ddsd.ddpfPixelFormat.dwBBitMask); |
1718 #endif | 1719 #endif |
1719 } | 1720 } |
1721 #endif /* DDRAW_DEBUG */ | |
1720 | 1722 |
1721 static int DX5_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, | 1723 static int DX5_HWAccelBlit(SDL_Surface *src, SDL_Rect *srcrect, |
1722 SDL_Surface *dst, SDL_Rect *dstrect) | 1724 SDL_Surface *dst, SDL_Rect *dstrect) |
1723 { | 1725 { |
1724 LPDIRECTDRAWSURFACE3 src_surface; | 1726 LPDIRECTDRAWSURFACE3 src_surface; |