Re: [1/2] D3D: Limit d3d8 and d3d9 vshader constants to 256

2009-04-24 Thread Stefan Dösinger
Am Freitag, 24. April 2009 22:48:51 schrieb Henri Verbeet: > Not my preferred fix, but I suppose it works. > > > @@ -359,6 +359,7 @@ static HRESULT WINAPI > > IDirect3DDevice8Impl_GetDeviceCaps(LPDIRECT3DDEVICE8 iface > > if(pCaps->VertexShaderVersion > D3DVS_VERSION(1,1)){ > > pCaps->Vert

Re: [1/2] D3D: Limit d3d8 and d3d9 vshader constants to 256

2009-04-24 Thread Henri Verbeet
Not my preferred fix, but I suppose it works. > @@ -359,6 +359,7 @@ static HRESULT WINAPI > IDirect3DDevice8Impl_GetDeviceCaps(LPDIRECT3DDEVICE8 iface > if(pCaps->VertexShaderVersion > D3DVS_VERSION(1,1)){ > pCaps->VertexShaderVersion = D3DVS_VERSION(1,1); > } > +pCaps->Max