1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-24 17:49:52 +01:00

fix d3d9 vertices

This commit is contained in:
FunkyFr3sh 2023-07-07 06:40:31 +02:00
parent 29d6c4e1e7
commit 2d009fe477

View File

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