mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
Not necessary for D3D8 we believe
This commit is contained in:
parent
f1f3a6f0ae
commit
29098d6b99
@ -155,14 +155,6 @@ static void d3d8_renderchain_set_vertices(void *data, unsigned pass,
|
|||||||
vert[2].color = 0xFFFFFFFF;
|
vert[2].color = 0xFFFFFFFF;
|
||||||
vert[3].color = 0xFFFFFFFF;
|
vert[3].color = 0xFFFFFFFF;
|
||||||
|
|
||||||
/* TODO/FIXME - might not need this for D3D8 */
|
|
||||||
/* Align texels and vertices. */
|
|
||||||
for (i = 0; i < 4; i++)
|
|
||||||
{
|
|
||||||
vert[i].x -= 0.5f / ((float)chain->tex_w);
|
|
||||||
vert[i].y += 0.5f / ((float)chain->tex_h);
|
|
||||||
}
|
|
||||||
|
|
||||||
verts = d3d_vertex_buffer_lock(chain->vertex_buf);
|
verts = d3d_vertex_buffer_lock(chain->vertex_buf);
|
||||||
memcpy(verts, vert, sizeof(vert));
|
memcpy(verts, vert, sizeof(vert));
|
||||||
d3d_vertex_buffer_unlock(chain->vertex_buf);
|
d3d_vertex_buffer_unlock(chain->vertex_buf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user