mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 12:17:04 +00:00
(D3D) Buildfix
This commit is contained in:
parent
823e2db596
commit
7a76d7e0a7
@ -439,9 +439,9 @@ void d3d_enable_blend_func(void *data)
|
||||
if (!d3d_restore_device(dev))
|
||||
return;
|
||||
|
||||
d3d_render_state(dev, D3DRS_SRCBLEND, D3DBLEND_SRCALPHA);
|
||||
d3d_render_state(dev, D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
|
||||
d3d_render_state(dev, D3DRS_ALPHABLENDENABLE, true);
|
||||
d3d_set_render_state(dev, D3DRS_SRCBLEND, D3DBLEND_SRCALPHA);
|
||||
d3d_set_render_state(dev, D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
|
||||
d3d_set_render_state(dev, D3DRS_ALPHABLENDENABLE, true);
|
||||
}
|
||||
|
||||
void d3d_enable_alpha_blend_texture_func(void *data)
|
||||
@ -486,7 +486,7 @@ void d3d_disable_blend_func(void *data)
|
||||
if (!d3d_restore_device(dev))
|
||||
return;
|
||||
|
||||
d3d_render_state(dev, D3DRS_ALPHABLENDENABLE, false);
|
||||
d3d_set_render_state(dev, D3DRS_ALPHABLENDENABLE, false);
|
||||
}
|
||||
|
||||
void d3d_set_vertex_declaration(void *data, void *vertex_data)
|
||||
|
Loading…
Reference in New Issue
Block a user