Henri Verbeet : wined3d: Expose WINED3DVTXPCAPS_TEXGEN_SPHEREMAP.
Alexandre Julliard
julliard at winehq.org
Tue May 28 15:16:59 CDT 2013
Module: wine
Branch: master
Commit: 97b6299eaf882a5702fbbfe48fbc1adbeac4b927
URL: http://source.winehq.org/git/wine.git/?a=commit;h=97b6299eaf882a5702fbbfe48fbc1adbeac4b927
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue May 28 08:55:18 2013 +0200
wined3d: Expose WINED3DVTXPCAPS_TEXGEN_SPHEREMAP.
Since we already implement it. Tweening will likely never work with fixed
function GL.
---
dlls/wined3d/state.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index bad4166..cdccb47 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -5658,13 +5658,13 @@ static void vp_ffp_get_caps(const struct wined3d_gl_info *gl_info, struct wined3
caps->max_active_lights = gl_info->limits.lights;
caps->max_vertex_blend_matrices = gl_info->limits.blends;
caps->max_vertex_blend_matrix_index = 0;
- /* FIXME: Add D3DVTXPCAPS_TWEENING, D3DVTXPCAPS_TEXGEN_SPHEREMAP */
caps->vertex_processing_caps = WINED3DVTXPCAPS_DIRECTIONALLIGHTS
| WINED3DVTXPCAPS_MATERIALSOURCE7
| WINED3DVTXPCAPS_POSITIONALLIGHTS
| WINED3DVTXPCAPS_LOCALVIEWER
| WINED3DVTXPCAPS_VERTEXFOG
- | WINED3DVTXPCAPS_TEXGEN;
+ | WINED3DVTXPCAPS_TEXGEN
+ | WINED3DVTXPCAPS_TEXGEN_SPHEREMAP;
caps->fvf_caps = WINED3DFVFCAPS_PSIZE | 0x0008; /* 8 texture coords */
caps->max_user_clip_planes = gl_info->limits.clipplanes;
caps->raster_caps = 0;
More information about the wine-cvs
mailing list