Module: wine
Branch: master
Commit: 87fe835f5bb89fb527f27c9b5970b172fc30b130
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=87fe835f5bb89fb527f27c9…
Author: H. Verbeet <hverbeet(a)gmail.com>
Date: Mon Sep 11 18:51:18 2006 +0200
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 | 506 +++++++++++++++++++++---------------------------
dlls/wined3d/utils.c | 10 -
2 files changed, 227 insertions(+), 289 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=87fe835f5bb89fb527f…