From 96a5583f3b37c0d56e60d726641834bfadf15d7a Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Sat, 18 Aug 2001 02:42:07 +0000 Subject: Fixed texture filtering modes. --- src/win95/aw.h | 11 ++++------- src/win95/awtexld.cpp | 1 - 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'src/win95') diff --git a/src/win95/aw.h b/src/win95/aw.h index 70717b0..62c85db 100644 --- a/src/win95/aw.h +++ b/src/win95/aw.h @@ -10,7 +10,8 @@ typedef struct DIRECTDRAWSURFACE int w; int h; - unsigned char *data; + + int filter; } DIRECTDRAWSURFACE; typedef DIRECTDRAWSURFACE * LPDIRECTDRAWSURFACE; @@ -22,17 +23,13 @@ typedef struct DIRECT3DTEXTURE int w; int h; - unsigned char *data; + + int filter; } DIRECT3DTEXTURE; typedef DIRECT3DTEXTURE * LPDIRECT3DTEXTURE; typedef DIRECT3DTEXTURE D3DTexture; -//typedef struct D3DTEXTUREHANDLE -//{ -// int x; -//} D3DTEXTUREHANDLE; - typedef int D3DTEXTUREHANDLE; #endif /* _INCLUDED_AW_H_ */ diff --git a/src/win95/awtexld.cpp b/src/win95/awtexld.cpp index c48c4df..eb2a34d 100644 --- a/src/win95/awtexld.cpp +++ b/src/win95/awtexld.cpp @@ -571,7 +571,6 @@ AwTl::SurfUnion AwBackupTexture::CreateTexture(AwTl::CreateTextureParms const & /* temp junk */ Tex->w = m_nWidth; Tex->h = m_nHeight; - Tex->data = NULL; CreateOGLTexture(Tex, buf); /* this will set the id */ free(buf); -- cgit v1.3