Henri Verbeet : wined3d: Print a FIXME in tex_coordindex() when NV_TEXGEN_REFLECTION isn't supported.

Alexandre Julliard julliard at winehq.org
Wed Mar 25 10:31:30 CDT 2009


Module: wine
Branch: master
Commit: 61cd872fa76b2ac6dcd54e50e427ae0e2ca8dc50
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=61cd872fa76b2ac6dcd54e50e427ae0e2ca8dc50

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Mar 25 10:12:26 2009 +0100

wined3d: Print a FIXME in tex_coordindex() when NV_TEXGEN_REFLECTION isn't supported.

---

 dlls/wined3d/state.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 5f07452..2757c64 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -3161,8 +3161,11 @@ static void tex_coordindex(DWORD state, IWineD3DStateBlockImpl *stateblock, Wine
             break;
 
         case WINED3DTSS_TCI_CAMERASPACENORMAL:
+            /* Note that NV_TEXGEN_REFLECTION support is implied when
+             * ARB_TEXTURE_CUBE_MAP is supported */
             if (!GL_SUPPORT(NV_TEXGEN_REFLECTION))
             {
+                FIXME("WINED3DTSS_TCI_CAMERASPACENORMAL not supported.\n");
                 break;
             }
 
@@ -3193,8 +3196,11 @@ static void tex_coordindex(DWORD state, IWineD3DStateBlockImpl *stateblock, Wine
             break;
 
         case WINED3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR:
+            /* Note that NV_TEXGEN_REFLECTION support is implied when
+             * ARB_TEXTURE_CUBE_MAP is supported */
             if (!GL_SUPPORT(NV_TEXGEN_REFLECTION))
             {
+                FIXME("WINED3DTSS_TCI_CAMERASPACEREFLECTIONVECTOR not supported.\n");
                 break;
             }
 




More information about the wine-cvs mailing list