diff options
Diffstat (limited to 'src/osd/windows/drawd3d.c')
-rw-r--r-- | src/osd/windows/drawd3d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/windows/drawd3d.c b/src/osd/windows/drawd3d.c index 8f84161a84c..4a061224157 100644 --- a/src/osd/windows/drawd3d.c +++ b/src/osd/windows/drawd3d.c @@ -150,7 +150,7 @@ struct _d3d_vertex { float x, y, z; // X,Y,Z coordinates float rhw; // 1/W coordinate - D3DCOLOR color; // diffuse color + D3DCOLOR color; // diffuse color float u0, v0; // texture stage 0 coordinates }; @@ -1790,7 +1790,7 @@ static texture_info *texture_create(d3d_info *d3d, const render_texinfo *texsour scheight = texture->rawheight * texture->yprescale; // target surfaces typically cannot be YCbCr, so we always pick RGB in that case - finalfmt = (format != d3d->yuv_format) ? format : D3DFMT_A8R8G8B8; + finalfmt = (format != d3d->yuv_format) ? format : D3DFMT_A8R8G8B8; result = (*d3dintf->device.create_texture)(d3d->device, scwidth, scheight, 1, D3DUSAGE_RENDERTARGET, finalfmt, D3DPOOL_DEFAULT, &texture->d3dfinaltex); if (result == D3D_OK) break; |