ref: 5ca12ae22ae5ad4be29b38ecb5c9c885b6cc724a
parent: 65b470ba206bc94f6b01df29c1e9584e773f7103
author: Clownacy <Clownacy@users.noreply.github.com>
date: Mon Apr 20 08:42:50 EDT 2020
Tweak Wii U coordinates
--- a/src/Backends/WiiU/Window-Software-Polygon.cpp
+++ b/src/Backends/WiiU/Window-Software-Polygon.cpp
@@ -57,10 +57,10 @@
// Initialise vertex position buffer
const float vertex_positions[4][2] = {- {-640.0f / 854.0f, -1.0f}, {-640.0f / 854.0f, 1.0f}, { 640.0f / 854.0f, 1.0f},- { 640.0f / 854.0f, -1.0f}+ { 640.0f / 854.0f, -1.0f},+ {-640.0f / 854.0f, -1.0f}};
vertex_position_buffer.flags = (GX2RResourceFlags)(GX2R_RESOURCE_BIND_VERTEX_BUFFER |
@@ -75,10 +75,10 @@
// Initialise texture coordinate buffer
const float texture_coordinates[4][2] = {- {0.0f, 1.0f}, {0.0f, 0.0f}, {1.0f, 0.0f},- {1.0f, 1.0f}+ {1.0f, 1.0f},+ {0.0f, 1.0f}};
texture_coordinate_buffer.flags = (GX2RResourceFlags)(GX2R_RESOURCE_BIND_VERTEX_BUFFER |
--
⑨