wined3d: Cleanup the surface loading code a bit.
commit87fe835f5bb89fb527f27c9b5970b172fc30b130
authorH. Verbeet <hverbeet@gmail.com>
Mon, 11 Sep 2006 16:51:18 +0000 (11 18:51 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 12 Sep 2006 08:52:59 +0000 (12 10:52 +0200)
tree4aaf619ebebeb5b1d6fff501100815fdf519f949
parent112810a480aaee4d6d8885637c382a99f2cf84c1
wined3d: Cleanup the surface loading code a bit.

- Separate allocation and uploading of textures.
- Move common code for allocating, uploading and downloading textures
  into separate functions.
- Set the correct format and type for DXT textures.
dlls/wined3d/surface.c
dlls/wined3d/utils.c