Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2008-10-10 13:44:43 +02:00 committed by Alexandre Julliard
parent 7e77ecdf30
commit 0f38a60dd3
3 changed files with 8 additions and 8 deletions

View File

@ -9687,7 +9687,7 @@ static void zwriteenable_test(IDirect3DDevice9 *device) {
ok(hr == D3D_OK, "IDirect3DDevice9_BeginScene failed with 0x%08x\n", hr);
if(SUCCEEDED(hr)) {
/* The Z buffer is filled with 1.0. Draw a red quad with z = 0.1, zenable = D3DZB_FALSE, zwriteenable = TRUE.
* The red color is written because the z test is disabled. The question is wether the z = 0.1 values
* The red color is written because the z test is disabled. The question is whether the z = 0.1 values
* are written into the Z buffer. After the draw, set zenable = TRUE and draw a green quad at z = 0.9.
* If the values are written, the z test will fail(0.9 > 0.1) and the red color remains. If the values
* are not written, the z test succeeds(0.9 < 1.0) and the green color is written. It turns out that

View File

@ -1300,7 +1300,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_QueryInterface(IDirectXFileData* ifac
return S_OK;
}
/* Do not print an error for interfaces that can be queried to retreive the type of the object */
/* Do not print an error for interfaces that can be queried to retrieve the type of the object */
if (!IsEqualGUID(riid, &IID_IDirectXFileBinary)
&& !IsEqualGUID(riid, &IID_IDirectXFileDataReference))
ERR("(%p)->(%s,%p),not found\n",This,debugstr_guid(riid),ppvObject);
@ -1520,7 +1520,7 @@ static HRESULT WINAPI IDirectXFileDataReferenceImpl_QueryInterface(IDirectXFileD
return S_OK;
}
/* Do not print an error for interfaces that can be queried to retreive the type of the object */
/* Do not print an error for interfaces that can be queried to retrieve the type of the object */
if (!IsEqualGUID(riid, &IID_IDirectXFileData)
&& !IsEqualGUID(riid, &IID_IDirectXFileBinary))
ERR("(%p)->(%s,%p),not found\n",This,debugstr_guid(riid),ppvObject);

View File

@ -95,15 +95,15 @@ HRESULT WINAPI IWineD3DBaseSwapChainImpl_GetBackBuffer(IWineD3DSwapChain *iface,
if (iBackBuffer > This->presentParms.BackBufferCount - 1) {
TRACE("Back buffer count out of range\n");
/* Native d3d9 doesn't set NULL here, just as wine's d3d9. But set it here
* in wined3d to avoid problems in other libs
*/
/* Native d3d9 doesn't set NULL here, just as wine's d3d9. But set it
* here in wined3d to avoid problems in other libs
*/
*ppBackBuffer = NULL;
return WINED3DERR_INVALIDCALL;
}
/* Return invalid if there is no backbufferarray, otherwise it will crash when ddraw is
* used (there This->backBuffer is allways NULL). We need this because this function have
/* Return invalid if there is no backbuffer array, otherwise it will crash when ddraw is
* used (there This->backBuffer is always NULL). We need this because this function has
* to be called from IWineD3DStateBlockImpl_InitStartupStateBlock to get the default
* scissorrect dimensions. */
if( !This->backBuffer ) {