Threw in texture loading/drawing.
Blending modes (color/texture) are problematic and texture coordinates aren't yet perfect.
This commit is contained in:
parent
efc384b7b3
commit
9dadcb8024
6 changed files with 184 additions and 82 deletions
|
@ -11,7 +11,6 @@ typedef struct DIRECTDRAWSURFACE
|
|||
int w;
|
||||
int h;
|
||||
unsigned char *data;
|
||||
int type;
|
||||
} DIRECTDRAWSURFACE;
|
||||
|
||||
typedef DIRECTDRAWSURFACE * LPDIRECTDRAWSURFACE;
|
||||
|
@ -24,7 +23,6 @@ typedef struct DIRECT3DTEXTURE
|
|||
int w;
|
||||
int h;
|
||||
unsigned char *data;
|
||||
int type;
|
||||
} DIRECT3DTEXTURE;
|
||||
|
||||
typedef DIRECT3DTEXTURE * LPDIRECT3DTEXTURE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue