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

Henri Verbeet hverbeet at codeweavers.com
Wed Mar 25 04:12:26 CDT 2009


---
 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;
             }
 
-- 
1.6.0.6



--------------040404090208090704060307--



More information about the wine-patches mailing list