ddraw: Kill stray tabs.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1bd56b6ca5
commit
31fcbb6bf2
|
@ -80,7 +80,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
|
|||
|
||||
count = current->wCount;
|
||||
size = current->bSize;
|
||||
instr += sizeof(D3DINSTRUCTION);
|
||||
instr += sizeof(*current);
|
||||
primitive_size = 0;
|
||||
|
||||
switch (current->bOpcode)
|
||||
|
@ -204,7 +204,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
|
|||
}
|
||||
|
||||
case D3DOP_MATRIXLOAD:
|
||||
WARN("MATRIXLOAD-s (%d)\n", count);
|
||||
WARN("MATRIXLOAD-s (%u)\n", count);
|
||||
instr += count * size;
|
||||
break;
|
||||
|
||||
|
@ -351,19 +351,15 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
|
|||
}
|
||||
break;
|
||||
|
||||
case D3DOP_TEXTURELOAD: {
|
||||
WARN("TEXTURELOAD-s (%d)\n", count);
|
||||
|
||||
case D3DOP_TEXTURELOAD:
|
||||
WARN("TEXTURELOAD-s (%u)\n", count);
|
||||
instr += count * size;
|
||||
} break;
|
||||
break;
|
||||
|
||||
case D3DOP_EXIT: {
|
||||
TRACE("EXIT (%d)\n", count);
|
||||
/* We did this instruction */
|
||||
case D3DOP_EXIT:
|
||||
TRACE("EXIT (%u)\n", count);
|
||||
instr += size;
|
||||
/* Exit this loop */
|
||||
goto end_of_buffer;
|
||||
} break;
|
||||
|
||||
case D3DOP_BRANCHFORWARD:
|
||||
TRACE("BRANCHFORWARD (%d)\n", count);
|
||||
|
@ -381,8 +377,11 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
|
|||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (ci->bNegate) {
|
||||
}
|
||||
else
|
||||
{
|
||||
if (ci->bNegate)
|
||||
{
|
||||
TRACE(" Branch to %d\n", ci->dwOffset);
|
||||
if (ci->dwOffset) {
|
||||
instr = (char*)current + ci->dwOffset;
|
||||
|
@ -395,11 +394,10 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
|
|||
}
|
||||
break;
|
||||
|
||||
case D3DOP_SPAN: {
|
||||
WARN("SPAN-s (%d)\n", count);
|
||||
|
||||
case D3DOP_SPAN:
|
||||
WARN("SPAN-s (%u)\n", count);
|
||||
instr += count * size;
|
||||
} break;
|
||||
break;
|
||||
|
||||
case D3DOP_SETSTATUS:
|
||||
TRACE("SETSTATUS (%d)\n", count);
|
||||
|
@ -411,8 +409,7 @@ HRESULT d3d_execute_buffer_execute(struct d3d_execute_buffer *buffer,
|
|||
break;
|
||||
|
||||
default:
|
||||
ERR("Unhandled OpCode %d !!!\n",current->bOpcode);
|
||||
/* Try to save ... */
|
||||
ERR("Unhandled OpCode %#x.\n",current->bOpcode);
|
||||
instr += count * size;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -748,17 +748,11 @@ HRESULT WINAPI DllCanUnloadNow(void)
|
|||
}
|
||||
|
||||
|
||||
/***********************************************************************
|
||||
* DllRegisterServer (DDRAW.@)
|
||||
*/
|
||||
HRESULT WINAPI DllRegisterServer(void)
|
||||
{
|
||||
return __wine_register_resources( instance );
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* DllUnregisterServer (DDRAW.@)
|
||||
*/
|
||||
HRESULT WINAPI DllUnregisterServer(void)
|
||||
{
|
||||
return __wine_unregister_resources( instance );
|
||||
|
|
Loading…
Reference in New Issue