mirror of
https://github.com/holub/mame
synced 2025-05-19 20:29:09 +03:00
work around gcc 4.5 (harmless) warning:
case value '13' not in enumerated type 'D3DTEXTURESTAGESTATETYPE' (and other cases)
This commit is contained in:
parent
eb6e93e06d
commit
b80779d95e
@ -422,7 +422,7 @@ static HRESULT d3d_device_set_texture_stage_state(d3d_device *dev, DWORD stage,
|
||||
IDirect3DDevice9 *device = (IDirect3DDevice9 *)dev;
|
||||
|
||||
// some state which was here got pushed into sampler state in D3D9
|
||||
switch (state)
|
||||
switch ((DWORD)state)
|
||||
{
|
||||
case D3DTSS_ADDRESSU:
|
||||
return IDirect3DDevice9_SetSamplerState(device, stage, D3DSAMP_ADDRESSU, value);
|
||||
|
Loading…
Reference in New Issue
Block a user