Commit a8c7284f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Assorted spelling fixes.

parent cd6e5bab
......@@ -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
* last free arena in !
* 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() */
size += ROUND_SIZE(sizeof(SUBHEAP)) + sizeof(ARENA_INUSE) + sizeof(ARENA_FREE);
if (!(subheap = HEAP_CreateSubHeap( heap, NULL, heap->flags, size,
......
......@@ -1165,7 +1165,7 @@ static HRESULT WINAPI DefaultHandler_Run(
* - IOleObject_GetMiscStatus
* - IOleObject_Advise
* - 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 */
......
......@@ -363,7 +363,7 @@ ULONG WINAPI IWineD3DDeviceImpl_Release(IWineD3DDevice *iface) {
/* 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... */
/* Release all of the swapchains, except the implicite swapchain */
/* Release all of the swapchains, except the implicit swapchain */
IUnknown* stencilBufferParent;
IUnknown* swapChainParent;
......
......@@ -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++) {
sprintf(tmpLine, "ADDRESS A%ld;\n", i);
++lineNum;
......@@ -1395,7 +1395,7 @@ inline static VOID IWineD3DVertexShaderImpl_GenerateProgramArbHW(IWineD3DVertexS
numConstants = 95;
}
/* 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);
TRACE("GL HW (%u,%u) : %s", lineNum, pgmLength, tmpLine); /* Don't add \n to this line as already in tmpLine */
......
......@@ -1120,7 +1120,10 @@ int D3DFmtMakeGlCfg(D3DFORMAT BackBufferFormat, D3DFORMAT StencilBufferFormat, i
/*** class static members ***/
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 {
VS_CONSTANT_NOT_USED = 0,
VS_CONSTANT_CONSTANT,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment