d3drm: Use the correct alpha value in D3DRMCreateColorRGB().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
060ea15ae2
commit
cf9ee84930
|
@ -27,7 +27,7 @@
|
|||
/* Create a RGB color from its components */
|
||||
D3DCOLOR WINAPI D3DRMCreateColorRGB(D3DVALUE red, D3DVALUE green, D3DVALUE blue)
|
||||
{
|
||||
return (D3DRMCreateColorRGBA(red, green, blue, 255.0));
|
||||
return D3DRMCreateColorRGBA(red, green, blue, 1.0f);
|
||||
}
|
||||
/* Create a RGBA color from its components */
|
||||
D3DCOLOR WINAPI D3DRMCreateColorRGBA(D3DVALUE red, D3DVALUE green, D3DVALUE blue, D3DVALUE alpha)
|
||||
|
|
Loading…
Reference in New Issue