Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2005-09-26 10:58:41 +00:00 committed by Alexandre Julliard
parent cd6e5bab8b
commit a8c7284f92
5 changed files with 9 additions and 6 deletions

View File

@ -734,7 +734,7 @@ static ARENA_FREE *HEAP_FindFreeBlock( HEAP *heap, SIZE_T size,
/* make sure that we have a big enough size *committed* to fit another /* make sure that we have a big enough size *committed* to fit another
* last free arena in ! * last free arena in !
* So just one heap struct, one first free arena which will eventually * So just one heap struct, one first free arena which will eventually
* get inuse, and a second free arena that might get assigned all remaining * get used, and a second free arena that might get assigned all remaining
* free space in HEAP_ShrinkBlock() */ * free space in HEAP_ShrinkBlock() */
size += ROUND_SIZE(sizeof(SUBHEAP)) + sizeof(ARENA_INUSE) + sizeof(ARENA_FREE); size += ROUND_SIZE(sizeof(SUBHEAP)) + sizeof(ARENA_INUSE) + sizeof(ARENA_FREE);
if (!(subheap = HEAP_CreateSubHeap( heap, NULL, heap->flags, size, if (!(subheap = HEAP_CreateSubHeap( heap, NULL, heap->flags, size,

View File

@ -1165,7 +1165,7 @@ static HRESULT WINAPI DefaultHandler_Run(
* - IOleObject_GetMiscStatus * - IOleObject_GetMiscStatus
* - IOleObject_Advise * - IOleObject_Advise
* - IOleObject_GetMoniker * - IOleObject_GetMoniker
* - advise data cache that we've connected some how? * - advise data cache that we've connected somehow?
*/ */
/* FIXME: if we failed, Close the object */ /* FIXME: if we failed, Close the object */

View File

@ -363,7 +363,7 @@ ULONG WINAPI IWineD3DDeviceImpl_Release(IWineD3DDevice *iface) {
/* NOTE: You must release the parent if the object was created via a callback /* NOTE: You must release the parent if the object was created via a callback
** ***************************/ ** ***************************/
/* TODO: this is exactly the same as required by _Reset.., so at some point we need to move the code so that is can be called by reset add release... */ /* TODO: this is exactly the same as required by _Reset.., so at some point we need to move the code so that is can be called by reset add release... */
/* Release all of the swapchains, except the implicite swapchain */ /* Release all of the swapchains, except the implicit swapchain */
IUnknown* stencilBufferParent; IUnknown* stencilBufferParent;
IUnknown* swapChainParent; IUnknown* swapChainParent;

View File

@ -1380,7 +1380,7 @@ inline static VOID IWineD3DVertexShaderImpl_GenerateProgramArbHW(IWineD3DVertexS
} }
} }
/* TODO: loop register counts as an addres register */ /* TODO: loop register counts as an address register */
for (i = 0; i < nUseAddressRegister; i++) { for (i = 0; i < nUseAddressRegister; i++) {
sprintf(tmpLine, "ADDRESS A%ld;\n", i); sprintf(tmpLine, "ADDRESS A%ld;\n", i);
++lineNum; ++lineNum;
@ -1395,7 +1395,7 @@ inline static VOID IWineD3DVertexShaderImpl_GenerateProgramArbHW(IWineD3DVertexS
numConstants = 95; numConstants = 95;
} }
/* FIXME: We should be counting the number of constants in the first pass and then validating that many are supported /* FIXME: We should be counting the number of constants in the first pass and then validating that many are supported
Looking at some of the shaders inuse by applications we'd need to create a list of all used env variables Looking at some of the shaders in use by applications we'd need to create a list of all used env variables
*/ */
sprintf(tmpLine, "PARAM C[%d] = { program.env[0..%d] };\n", numConstants, numConstants - 1); sprintf(tmpLine, "PARAM C[%d] = { program.env[0..%d] };\n", numConstants, numConstants - 1);
TRACE("GL HW (%u,%u) : %s", lineNum, pgmLength, tmpLine); /* Don't add \n to this line as already in tmpLine */ TRACE("GL HW (%u,%u) : %s", lineNum, pgmLength, tmpLine); /* Don't add \n to this line as already in tmpLine */

View File

@ -1120,7 +1120,10 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBufferFormat, D3DFORMAT StencilBufferFormat, i
/*** class static members ***/ /*** class static members ***/
void IWineD3DBaseTextureImpl_CleanUp(IWineD3DBaseTexture *iface); void IWineD3DBaseTextureImpl_CleanUp(IWineD3DBaseTexture *iface);
/* an emul for the type of constants that are used... adressing causes problems with being able to work out what's used and what's not.. so maybe we'll have to rely on the server vertex shader const functions? */ /* An enum for the type of constants that are used... addressing causes
* problems with being able to work out what's used and what's not.. so
* maybe we'll have to rely on the server vertex shader const functions?
*/
enum vsConstantsEnum { enum vsConstantsEnum {
VS_CONSTANT_NOT_USED = 0, VS_CONSTANT_NOT_USED = 0,
VS_CONSTANT_CONSTANT, VS_CONSTANT_CONSTANT,