Assorted spelling fixes.
This commit is contained in:
parent
2d7ef72cf0
commit
11ae0f6386
|
@ -225,7 +225,7 @@ static void check_auto_format(void)
|
||||||
|
|
||||||
/* Windows implicitly sets some format bits in INSERTITEM */
|
/* Windows implicitly sets some format bits in INSERTITEM */
|
||||||
|
|
||||||
/* HDF_STRING is automaticaly set and cleared for no text */
|
/* HDF_STRING is automatically set and cleared for no text */
|
||||||
hdiCreate.mask = HDI_TEXT|HDI_WIDTH|HDI_FORMAT;
|
hdiCreate.mask = HDI_TEXT|HDI_WIDTH|HDI_FORMAT;
|
||||||
hdiCreate.pszText = text;
|
hdiCreate.pszText = text;
|
||||||
hdiCreate.cxy = 100;
|
hdiCreate.cxy = 100;
|
||||||
|
|
|
@ -152,7 +152,7 @@ static void test_swapchain(void)
|
||||||
|
|
||||||
/* Try to get a nonexistant swapchain */
|
/* Try to get a nonexistant swapchain */
|
||||||
hr = IDirect3DDevice9_GetSwapChain(pDevice, 1, &swapchainX);
|
hr = IDirect3DDevice9_GetSwapChain(pDevice, 1, &swapchainX);
|
||||||
ok(hr == D3DERR_INVALIDCALL, "GetSwapChain on an non-existant swapchain returned (%s)\n", DXGetErrorString9(hr));
|
ok(hr == D3DERR_INVALIDCALL, "GetSwapChain on an nonexistent swapchain returned (%s)\n", DXGetErrorString9(hr));
|
||||||
ok(swapchainX == NULL, "Swapchain 1 is %p\n", swapchainX);
|
ok(swapchainX == NULL, "Swapchain 1 is %p\n", swapchainX);
|
||||||
if(swapchainX) IDirect3DSwapChain9_Release(swapchainX);
|
if(swapchainX) IDirect3DSwapChain9_Release(swapchainX);
|
||||||
|
|
||||||
|
@ -233,7 +233,7 @@ static void test_swapchain(void)
|
||||||
*/
|
*/
|
||||||
swapchainX = (void *) 0xdeadbeef;
|
swapchainX = (void *) 0xdeadbeef;
|
||||||
hr = IDirect3DDevice9_GetSwapChain(pDevice, 1, &swapchainX);
|
hr = IDirect3DDevice9_GetSwapChain(pDevice, 1, &swapchainX);
|
||||||
ok(hr == D3DERR_INVALIDCALL, "Failed to get the secound swapchain (%s)\n", DXGetErrorString9(hr));
|
ok(hr == D3DERR_INVALIDCALL, "Failed to get the second swapchain (%s)\n", DXGetErrorString9(hr));
|
||||||
ok(swapchainX == NULL, "The swapchain pointer is %p\n", swapchainX);
|
ok(swapchainX == NULL, "The swapchain pointer is %p\n", swapchainX);
|
||||||
if(swapchainX && swapchainX != (void *) 0xdeadbeef ) IDirect3DSwapChain9_Release(swapchainX);
|
if(swapchainX && swapchainX != (void *) 0xdeadbeef ) IDirect3DSwapChain9_Release(swapchainX);
|
||||||
|
|
||||||
|
@ -384,7 +384,7 @@ cleanup:
|
||||||
CHECK_RELEASE(pStateBlock, pDevice, --refcount);
|
CHECK_RELEASE(pStateBlock, pDevice, --refcount);
|
||||||
CHECK_RELEASE(pSwapChain, pDevice, --refcount);
|
CHECK_RELEASE(pSwapChain, pDevice, --refcount);
|
||||||
CHECK_RELEASE(pQuery, pDevice, --refcount);
|
CHECK_RELEASE(pQuery, pDevice, --refcount);
|
||||||
/* This will destroy device - can not check the refcount here */
|
/* This will destroy device - cannot check the refcount here */
|
||||||
if (pStateBlock1) IUnknown_Release( pStateBlock1 );
|
if (pStateBlock1) IUnknown_Release( pStateBlock1 );
|
||||||
|
|
||||||
if (pD3d) IUnknown_Release( pD3d );
|
if (pD3d) IUnknown_Release( pD3d );
|
||||||
|
|
|
@ -1490,7 +1490,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
|
||||||
editor->nUndoLimit = min(wParam, STACK_SIZE_MAX);
|
editor->nUndoLimit = min(wParam, STACK_SIZE_MAX);
|
||||||
/* Setting a max stack size keeps wine from getting killed
|
/* Setting a max stack size keeps wine from getting killed
|
||||||
for hogging memory. Windows allocates all this memory at once, so
|
for hogging memory. Windows allocates all this memory at once, so
|
||||||
no program would realisticly set a value above our maxiumum. */
|
no program would realistically set a value above our maxiumum. */
|
||||||
return editor->nUndoLimit;
|
return editor->nUndoLimit;
|
||||||
}
|
}
|
||||||
case EM_CANUNDO:
|
case EM_CANUNDO:
|
||||||
|
|
|
@ -4977,7 +4977,7 @@ process_vertices_strided(IWineD3DDeviceImpl *This, DWORD dwDestIndex, DWORD dwCo
|
||||||
( rhw > eps ) ) ) {
|
( rhw > eps ) ) ) {
|
||||||
|
|
||||||
/* "Normal" viewport transformation (not clipped)
|
/* "Normal" viewport transformation (not clipped)
|
||||||
* 1) The values are divided trough rhw
|
* 1) The values are divided by rhw
|
||||||
* 2) The y axis is negative, so multiply it with -1
|
* 2) The y axis is negative, so multiply it with -1
|
||||||
* 3) Screen coordinates go from -(Width/2) to +(Width/2) and
|
* 3) Screen coordinates go from -(Width/2) to +(Width/2) and
|
||||||
* -(Height/2) to +(Height/2). The z range is MinZ to MaxZ
|
* -(Height/2) to +(Height/2). The z range is MinZ to MaxZ
|
||||||
|
|
|
@ -1739,7 +1739,7 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
|
||||||
if (wined3d_settings.ps_mode == PS_HW && wined3d_settings.shader_mode == SHADER_GLSL
|
if (wined3d_settings.ps_mode == PS_HW && wined3d_settings.shader_mode == SHADER_GLSL
|
||||||
&& DeviceType != WINED3DDEVTYPE_REF) {
|
&& DeviceType != WINED3DDEVTYPE_REF) {
|
||||||
*pCaps->PixelShaderVersion = D3DPS_VERSION(3,0);
|
*pCaps->PixelShaderVersion = D3DPS_VERSION(3,0);
|
||||||
/* FIXME: The following line is card dependant. -1.0 to 1.0 is a safe default clamp range for now */
|
/* FIXME: The following line is card dependent. -1.0 to 1.0 is a safe default clamp range for now */
|
||||||
*pCaps->PixelShader1xMaxValue = 1.0;
|
*pCaps->PixelShader1xMaxValue = 1.0;
|
||||||
TRACE_(d3d_caps)("Hardware pixel shader versions 2.0+ enabled\n");
|
TRACE_(d3d_caps)("Hardware pixel shader versions 2.0+ enabled\n");
|
||||||
} else if (wined3d_settings.ps_mode == PS_HW
|
} else if (wined3d_settings.ps_mode == PS_HW
|
||||||
|
|
|
@ -413,7 +413,7 @@ void shader_glsl_add_instruction_modifiers(SHADER_OPCODE_ARG* arg) {
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Generate GLSL arithmatic functions (dst = src1 + src2) */
|
/* Generate GLSL arithmetic functions (dst = src1 + src2) */
|
||||||
void shader_glsl_arith(SHADER_OPCODE_ARG* arg) {
|
void shader_glsl_arith(SHADER_OPCODE_ARG* arg) {
|
||||||
|
|
||||||
CONST SHADER_OPCODE* curOpcode = arg->opcode;
|
CONST SHADER_OPCODE* curOpcode = arg->opcode;
|
||||||
|
|
|
@ -1132,7 +1132,7 @@ DECL_HANDLER(access_check)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* retrives the SID of the user that the token represents */
|
/* retrieves the SID of the user that the token represents */
|
||||||
DECL_HANDLER(get_token_user)
|
DECL_HANDLER(get_token_user)
|
||||||
{
|
{
|
||||||
struct token *token;
|
struct token *token;
|
||||||
|
|
Loading…
Reference in New Issue