wined3d: Properly initialize min_rel_offset.
This somehow got lost in 14da44aa36
.
This commit is contained in:
parent
7f5583aee9
commit
b72b037128
|
@ -459,6 +459,7 @@ static HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct
|
|||
const DWORD *ptr = byte_code;
|
||||
|
||||
memset(reg_maps, 0, sizeof(*reg_maps));
|
||||
reg_maps->min_rel_offset = ~0U;
|
||||
|
||||
/* get_registers_used() is called on every compile on some 1.x shaders,
|
||||
* which can result in stacking up a collection of local constants.
|
||||
|
|
Loading…
Reference in New Issue