1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

fix d3d9 vertices

This commit is contained in:
FunkyFr3sh 2023-07-07 01:39:38 +02:00
parent 045ed051ea
commit 9970832705

View File

@ -411,10 +411,10 @@ static BOOL d3d9_update_vertices(BOOL upscale_hack, BOOL stretch)
CUSTOMVERTEX vertices[] =
{
{ vp_x - 0.5f, vp_h - 0.5f, 0.0f, 1.0f, 0.0f, s_h },
{ vp_x - 0.5f, vp_y - 0.5f, 0.0f, 1.0f, 0.0f, 0.0f },
{ vp_w - 0.5f, vp_h - 0.5f, 0.0f, 1.0f, s_w, s_h },
{ vp_w - 0.5f, vp_y - 0.5f, 0.0f, 1.0f, s_w, 0.0f }
{ vp_x, vp_h, 0.0f, 1.0f, 0.0f, s_h },
{ vp_x, vp_y, 0.0f, 1.0f, 0.0f, 0.0f },
{ vp_w, vp_h, 0.0f, 1.0f, s_w, s_h },
{ vp_w, vp_y, 0.0f, 1.0f, s_w, 0.0f }
};
void* data;