mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(D3D) Have more functions go through d3d_wrapper
This commit is contained in:
parent
fa27c8884d
commit
7fc59210b1
@ -334,7 +334,7 @@ static bool texture_image_render(void *data,
|
||||
|
||||
/* Draw the quad. */
|
||||
d3dr->SetTexture(0, out_img->pixels);
|
||||
D3DDevice_SetStreamSources(d3dr, 0,
|
||||
d3d_set_stream_source(d3dr, 0,
|
||||
out_img->vertex_buf, 0, sizeof(Vertex));
|
||||
d3dr->SetVertexShader(D3DFVF_CUSTOMVERTEX);
|
||||
|
||||
@ -349,7 +349,7 @@ static bool texture_image_render(void *data,
|
||||
vp.MaxZ = 1.0f;
|
||||
d3dr->SetViewport(&vp);
|
||||
}
|
||||
D3DDevice_DrawPrimitive(d3dr, D3DPT_QUADLIST, 0, 1);
|
||||
d3d_draw_primitive(d3dr, D3DPT_QUADLIST, 0, 1);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user