summaryrefslogtreecommitdiff
path: root/src/win95
diff options
context:
space:
mode:
Diffstat (limited to 'src/win95')
-rw-r--r--src/win95/aw.h11
-rw-r--r--src/win95/awtexld.cpp1
2 files changed, 4 insertions, 8 deletions
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);