1 /*===========================================================================*/
3 /* Mesa-3.0 DirectX 6 Driver */
7 /* http://www.altsoftware.com/ */
9 /* Copyright (c) 1999-1998 alt.software inc. All Rights Reserved */
10 /*===========================================================================*/
11 #ifndef _TEXTURE_MGR_INC
12 #define _TEXTURE_MGR_INC
14 /*===========================================================================*/
16 /*===========================================================================*/
23 /*========================================================================*/
25 /*========================================================================*/
26 /*========================================================================*/
28 /*========================================================================*/
29 typedef struct _local_texture_object
39 bDirty
; /* I only update VID on SubImage calls so the system */
40 /* texture can get invalid. */
42 LPDIRECT3DDEVICE3 lpD3DDevice
; /* If the device changes we must get new handles... */
43 LPDIRECTDRAWSURFACE4 lpDDS_System
,
45 LPDIRECT3DTEXTURE2 lpD3DTexture2
;
49 struct _local_texture_object
*next
;
50 struct _local_texture_object
*prev
;
52 } TM_OBJECT
, *PTM_OBJECT
;
53 /*========================================================================*/
54 /* Function prototypes. */
55 /*========================================================================*/
56 void APIENTRY
InitTMD3D( void *pVoid
);
57 void APIENTRY
TermTMD3D( void *pVoid
);
58 /*========================================================================*/
59 /* Global variables declaration. */
60 /*========================================================================*/