2016-08-17 8:53 GMT+02:00 Alistair Leslie-Hughes leslie_alistair@hotmail.com:
- hr = D3DXCreateTextureShader(texture_noise, &shader);
- ok(hr == S_OK, "got %08x\n", hr);
- if(hr == S_OK)
- {
ID3DXBuffer *buffer = NULL;
hr = shader->lpVtbl->GetConstantBuffer(shader, &buffer);
todo_wine ok(hr == S_OK, "got %08x\n", hr);
if(hr == S_OK)
{
int size = ID3DXBuffer_GetBufferSize(buffer);
ok(size == 16, "GetBufferSize failed, got %u\n", size);
Do you know what the returned buffer is supposed to be? Dumping the contents seems to suggest arbitrary (but not random) stack data.