mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 19:10:35 +00:00
Silence some TRACEs to better spot real errors.
This commit is contained in:
parent
a42b0d1368
commit
166750299e
@ -723,7 +723,7 @@ static void draw_primitive_start_GL(D3DPRIMITIVETYPE d3dpt)
|
||||
break;
|
||||
|
||||
default:
|
||||
TRACE("Unhandled primitive\n");
|
||||
FIXME("Unhandled primitive %08x\n", d3dpt);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -1860,6 +1860,12 @@ GL_IDirect3DDeviceImpl_7_3T_SetTextureStageState(LPDIRECT3DDEVICE7 iface,
|
||||
color[3] = ((dwState >> 24) & 0xFF) / 255.0;
|
||||
|
||||
glTexParameterfv(GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, color);
|
||||
|
||||
TRACE(" Stage type : D3DTSS_BORDERCOLOR => %02lx %02lx %02lx %02lx (RGBA)\n",
|
||||
((dwState >> 16) & 0xFF),
|
||||
((dwState >> 8) & 0xFF),
|
||||
((dwState >> 0) & 0xFF),
|
||||
((dwState >> 24) & 0xFF));
|
||||
} break;
|
||||
|
||||
case D3DTSS_TEXCOORDINDEX: {
|
||||
|
@ -131,13 +131,17 @@ void set_render_state(IDirect3DDeviceImpl* This,
|
||||
break;
|
||||
|
||||
case D3DRENDERSTATE_WRAPU: /* 5 */
|
||||
if (dwRenderState)
|
||||
ERR("WRAPU mode unsupported by OpenGL.. Expect graphical glitches !\n");
|
||||
break;
|
||||
|
||||
case D3DRENDERSTATE_WRAPV: /* 6 */
|
||||
case D3DRENDERSTATE_WRAP0: /* 128 */
|
||||
case D3DRENDERSTATE_WRAP1: /* 129 */
|
||||
case D3DRENDERSTATE_WRAP2: /* 130 */
|
||||
case D3DRENDERSTATE_WRAP3: /* 131 */
|
||||
case D3DRENDERSTATE_WRAP4: /* 132 */
|
||||
case D3DRENDERSTATE_WRAP5: /* 133 */
|
||||
case D3DRENDERSTATE_WRAP6: /* 134 */
|
||||
case D3DRENDERSTATE_WRAP7: /* 135 */
|
||||
if (dwRenderState)
|
||||
ERR("WRAPV mode unsupported by OpenGL.. Expect graphical glitches !\n");
|
||||
ERR("Texture WRAP modes unsupported by OpenGL.. Expect graphical glitches !\n");
|
||||
break;
|
||||
|
||||
case D3DRENDERSTATE_ZENABLE: /* 7 */
|
||||
@ -487,6 +491,16 @@ void store_render_state(IDirect3DDeviceImpl *This,
|
||||
} else if (dwRenderStateType == D3DRENDERSTATE_TEXTUREADDRESS) {
|
||||
lpStateBlock->render_state[D3DRENDERSTATE_TEXTUREADDRESSU - 1] = dwRenderState;
|
||||
lpStateBlock->render_state[D3DRENDERSTATE_TEXTUREADDRESSV - 1] = dwRenderState;
|
||||
} else if (dwRenderStateType == D3DRENDERSTATE_WRAPU) {
|
||||
if (dwRenderState)
|
||||
lpStateBlock->render_state[D3DRENDERSTATE_WRAP0] |= D3DWRAP_U;
|
||||
else
|
||||
lpStateBlock->render_state[D3DRENDERSTATE_WRAP0] &= ~D3DWRAP_U;
|
||||
} else if (dwRenderStateType == D3DRENDERSTATE_WRAPV) {
|
||||
if (dwRenderState)
|
||||
lpStateBlock->render_state[D3DRENDERSTATE_WRAP0] |= D3DWRAP_V;
|
||||
else
|
||||
lpStateBlock->render_state[D3DRENDERSTATE_WRAP0] &= ~D3DWRAP_V;
|
||||
}
|
||||
|
||||
/* Default case */
|
||||
|
Loading…
x
Reference in New Issue
Block a user