Module: wine Branch: master Commit: eaf2474003f000ae6d3afc72cc92753146f15435 URL: http://source.winehq.org/git/wine.git/?a=commit;h=eaf2474003f000ae6d3afc72cc...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Sep 24 15:56:47 2008 +0200
wined3d: Split SetGlTextureDesc() up.
This creates a function for setting the texture name and one for setting the texture target. The idea is that the texture target should get set right after the surface is created, and won't change, while generating a texture name can wait.
---
dlls/wined3d/cubetexture.c | 13 +++++-- dlls/wined3d/surface.c | 64 ++++++++++++++++++++++++++++---------- dlls/wined3d/surface_gdi.c | 15 --------- dlls/wined3d/texture.c | 12 +++++-- dlls/wined3d/wined3d_private.h | 7 +++- include/wine/wined3d_interface.h | 2 - 6 files changed, 69 insertions(+), 44 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=eaf2474003f000ae6d3afc...