[10/15] WineD3D: Attempt to remove some tabs smuggled in by xcode
Stefan Dösinger
stefan at codeweavers.com
Wed Jan 10 04:37:03 CST 2007
Ok, I know the whitespace change policy, but that file is tab-free otherwise.
If that patch is not wanted, just ignore it, the others should still apply.
-------------- next part --------------
From eda18ada91775c8c5903826d239eeff457fc2538 Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan at codeweavers.com>
Date: Sun, 7 Jan 2007 13:42:16 +0100
Subject: [PATCH] WineD3D: Remove some tabs inserted by xcode
---
dlls/wined3d/state.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 793dfa0..7627aec 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -85,9 +85,9 @@ static void state_lighting(DWORD state, IWineD3DStateBlockImpl *stateblock) {
* vertex declaration appplying function calls this function for updating
*/
- if(isStateDirty(stateblock->wineD3DDevice, STATE_VDECL)) {
- return;
- }
+ if(isStateDirty(stateblock->wineD3DDevice, STATE_VDECL)) {
+ return;
+ }
normals = stateblock->wineD3DDevice->strided_streams.u.s.normal.lpData != NULL ||
stateblock->wineD3DDevice->strided_streams.u.s.normal.VBO != 0;
@@ -668,7 +668,7 @@ static void state_fog(DWORD state, IWineD3DStateBlockImpl *stateblock) {
/* DX 7 sdk: "If both render states(vertex and table fog) are set to valid modes,
* the system will apply only pixel(=table) fog effects."
*/
- else if(stateblock->renderState[WINED3DRS_FOGTABLEMODE] == D3DFOG_NONE) {
+ else if(stateblock->renderState[WINED3DRS_FOGTABLEMODE] == D3DFOG_NONE) {
glHint(GL_FOG_HINT, GL_FASTEST);
checkGLcall("glHint(GL_FOG_HINT, GL_FASTEST)");
stateblock->wineD3DDevice->last_was_foggy_shader = FALSE;
@@ -1985,7 +1985,7 @@ static void transform_view(DWORD state, IWineD3DStateBlockImpl *stateblock) {
}
static void transform_worldex(DWORD state, IWineD3DStateBlockImpl *stateBlock) {
- WARN("World matrix 1 - 255 not supported yet\n");
+ WARN("World matrix 1 - 255 not supported yet\n");
}
static const GLfloat invymat[16] = {
@@ -2553,8 +2553,7 @@ static inline void handleStreams(IWineD3DStateBlockImpl *stateblock, BOOL useVer
*/
TRACE("================ FVF ===================\n");
memset(dataLocations, 0, sizeof(*dataLocations));
- primitiveConvertToStridedData((IWineD3DDevice *) device, dataLocations,
- &fixup);
+ primitiveConvertToStridedData((IWineD3DDevice *) device, dataLocations, &fixup);
if(TRACE_ON(d3d)) {
drawPrimitiveTraceDataLocations(dataLocations);
}
--
1.4.4.3
More information about the wine-patches
mailing list