Assorted spelling fixes.
This commit is contained in:
parent
7e77ecdf30
commit
0f38a60dd3
|
@ -9687,7 +9687,7 @@ static void zwriteenable_test(IDirect3DDevice9 *device) {
|
||||||
ok(hr == D3D_OK, "IDirect3DDevice9_BeginScene failed with 0x%08x\n", hr);
|
ok(hr == D3D_OK, "IDirect3DDevice9_BeginScene failed with 0x%08x\n", hr);
|
||||||
if(SUCCEEDED(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 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.
|
* 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
|
* 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
|
* are not written, the z test succeeds(0.9 < 1.0) and the green color is written. It turns out that
|
||||||
|
|
|
@ -1300,7 +1300,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_QueryInterface(IDirectXFileData* ifac
|
||||||
return S_OK;
|
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)
|
if (!IsEqualGUID(riid, &IID_IDirectXFileBinary)
|
||||||
&& !IsEqualGUID(riid, &IID_IDirectXFileDataReference))
|
&& !IsEqualGUID(riid, &IID_IDirectXFileDataReference))
|
||||||
ERR("(%p)->(%s,%p),not found\n",This,debugstr_guid(riid),ppvObject);
|
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;
|
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)
|
if (!IsEqualGUID(riid, &IID_IDirectXFileData)
|
||||||
&& !IsEqualGUID(riid, &IID_IDirectXFileBinary))
|
&& !IsEqualGUID(riid, &IID_IDirectXFileBinary))
|
||||||
ERR("(%p)->(%s,%p),not found\n",This,debugstr_guid(riid),ppvObject);
|
ERR("(%p)->(%s,%p),not found\n",This,debugstr_guid(riid),ppvObject);
|
||||||
|
|
|
@ -95,15 +95,15 @@ HRESULT WINAPI IWineD3DBaseSwapChainImpl_GetBackBuffer(IWineD3DSwapChain *iface,
|
||||||
|
|
||||||
if (iBackBuffer > This->presentParms.BackBufferCount - 1) {
|
if (iBackBuffer > This->presentParms.BackBufferCount - 1) {
|
||||||
TRACE("Back buffer count out of range\n");
|
TRACE("Back buffer count out of range\n");
|
||||||
/* Native d3d9 doesn't set NULL here, just as wine's d3d9. But set it here
|
/* Native d3d9 doesn't set NULL here, just as wine's d3d9. But set it
|
||||||
* in wined3d to avoid problems in other libs
|
* here in wined3d to avoid problems in other libs
|
||||||
*/
|
*/
|
||||||
*ppBackBuffer = NULL;
|
*ppBackBuffer = NULL;
|
||||||
return WINED3DERR_INVALIDCALL;
|
return WINED3DERR_INVALIDCALL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return invalid if there is no backbuffer array, otherwise it will crash when ddraw is
|
/* Return invalid if there is no backbuffer array, otherwise it will crash when ddraw is
|
||||||
* used (there This->backBuffer is allways NULL). We need this because this function have
|
* used (there This->backBuffer is always NULL). We need this because this function has
|
||||||
* to be called from IWineD3DStateBlockImpl_InitStartupStateBlock to get the default
|
* to be called from IWineD3DStateBlockImpl_InitStartupStateBlock to get the default
|
||||||
* scissorrect dimensions. */
|
* scissorrect dimensions. */
|
||||||
if( !This->backBuffer ) {
|
if( !This->backBuffer ) {
|
||||||
|
|
Loading…
Reference in New Issue