wined3d: Remove stray tabs.
authorHenri Verbeet <hverbeet@codeweavers.com>
Fri, 9 Jan 2009 09:23:43 +0000 (10:23 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 9 Jan 2009 13:06:14 +0000 (14:06 +0100)
dlls/wined3d/basetexture.c
dlls/wined3d/device.c
dlls/wined3d/directx.c
dlls/wined3d/drawprim.c
dlls/wined3d/palette.c
dlls/wined3d/surface.c
dlls/wined3d/surface_gdi.c

index 158650e214281b1f00e9d39c91d311cc5c5a8016..8622e94bd142585a74bb67dc785fcbe68d25dc68 100644 (file)
@@ -249,7 +249,6 @@ HRESULT basetexture_bind(IWineD3DBaseTexture *iface)
                 glTexParameteri(textureDimensions, GL_TEXTURE_WRAP_R, GL_CLAMP_TO_EDGE);
             }
         }
-               
     } else { /* this only happened if we've run out of openGL textures */
         WARN("This texture doesn't have an openGL texture assigned to it\n");
         hr =  WINED3DERR_INVALIDCALL;
index 8187f5ba608c7ea93a09d7c0fba47e2faf75c630..fb9dd6e6d9d82dda71ff73c4ffce9c11b80bbe91 100644 (file)
@@ -1954,7 +1954,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreatePalette(IWineD3DDevice *iface, DW
     object->parent = Parent;
     object->wineD3DDevice = This;
     object->palNumEntries = IWineD3DPaletteImpl_Size(Flags);
-       
     object->hpal = CreatePalette((const LOGPALETTE*)&(object->palVersion));
 
     if(!object->hpal) {
@@ -2880,9 +2879,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetLight(IWineD3DDevice *iface, DWORD I
             if (rho < 0.0001) rho = 0.0001f;
             object->exponent = -0.3/log(cos(rho/2));
         }
-       if (object->exponent > 128.0) {
-               object->exponent = 128.0;
-       }
+        if (object->exponent > 128.0) {
+            object->exponent = 128.0;
+        }
         object->cutoff = pLight->Phi*90/M_PI;
 
         /* FIXME: Range */
index 7c0fa1405babeed615b8adb20f7a09db6f4b8220..639b07ec35c32104d74a349da722e058f760a704 100644 (file)
@@ -520,8 +520,7 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
     ENTER_GL();
 
     gl_string = (const char *) glGetString(GL_RENDERER);
-    if (NULL == gl_string)
-       gl_string = "None";
+    if (!gl_string) gl_string = "None";
     strcpy(gl_info->gl_renderer, gl_string);
 
     gl_string = (const char *) glGetString(GL_VENDOR);
@@ -3152,11 +3151,11 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
         pCaps->RasterCaps         |= WINED3DPRASTERCAPS_FOGRANGE;
     }
                         /* FIXME Add:
-                          WINED3DPRASTERCAPS_COLORPERSPECTIVE
-                          WINED3DPRASTERCAPS_STRETCHBLTMULTISAMPLE
-                          WINED3DPRASTERCAPS_ANTIALIASEDGES
-                          WINED3DPRASTERCAPS_ZBUFFERLESSHSR
-                          WINED3DPRASTERCAPS_WBUFFER */
+                           WINED3DPRASTERCAPS_COLORPERSPECTIVE
+                           WINED3DPRASTERCAPS_STRETCHBLTMULTISAMPLE
+                           WINED3DPRASTERCAPS_ANTIALIASEDGES
+                           WINED3DPRASTERCAPS_ZBUFFERLESSHSR
+                           WINED3DPRASTERCAPS_WBUFFER */
 
     pCaps->ZCmpCaps = WINED3DPCMPCAPS_ALWAYS       |
                       WINED3DPCMPCAPS_EQUAL        |
index 6224162f9b9140652c71e9fb9e35675c588ae085..b78078fd85a33ff0cc7cd91ce09c93cfbda1fcd6 100644 (file)
@@ -202,8 +202,8 @@ void primitiveDeclarationConvertToStridedData(
                         element->Usage == WINED3DDECLUSAGE_POSITIONT)) {
                     static BOOL warned = FALSE;
                     if(!warned) {
-                       /* This may be bad with the fixed function pipeline */
-                       FIXME("Missing vbo streams with unfixed colors or transformed position, expect problems\n");
+                        /* This may be bad with the fixed function pipeline */
+                        FIXME("Missing vbo streams with unfixed colors or transformed position, expect problems\n");
                         warned = TRUE;
                     }
                 }
index 8f6e37a9013bfc9a3f2a0c5ad88cc6b5d935cd00..338e66e0906d4cd9caf3294c3c2bb6d5a81da8bf 100644 (file)
@@ -1,4 +1,4 @@
-/*             DirectDraw - IDirectPalette base interface
+/*              DirectDraw - IDirectPalette base interface
  *
  * Copyright 1997-2000 Marcus Meissner
  * Copyright 2000-2001 TransGaming Technologies Inc.
index 28377406803de186a749e647f8c8f8c28f563117..179369688977e4941974c9c37e87fdf7dd88f228 100644 (file)
@@ -1830,7 +1830,7 @@ static HRESULT d3dfmt_convert_surface(const BYTE *src, BYTE *dst, UINT pitch, UI
                 Dest = (WORD *) (dst + y * outpitch);
                 for (x = 0; x < width; x++ ) {
                     WORD color = *Source++;
-                   *Dest = color;
+                    *Dest = color;
                     if ((color < This->SrcBltCKey.dwColorSpaceLowValue) ||
                         (color > This->SrcBltCKey.dwColorSpaceHighValue)) {
                         *Dest |= (1 << 15);
index 07a13b5c67811c18cad106af658b2220d29a116c..7e53cd3364973cc45eca12094a44998396f8bd60 100644 (file)
@@ -341,7 +341,7 @@ const char* filename)
 
         for (y = 0; y < This->pow2Height; y++) {
             const unsigned char *src = This->resource.allocatedMemory + (y * 1 * IWineD3DSurface_GetPitch(iface));
-            for (x = 0; x < This->pow2Width; x++) {        
+            for (x = 0; x < This->pow2Width; x++) {
                 unsigned int color;
                 unsigned int comp;
                 int i;