Restore proper 4:3 aspect ratio
This commit is contained in:
parent
5c575a0be9
commit
91bda89661
1 changed files with 4 additions and 4 deletions
|
@ -58,10 +58,10 @@ bool WindowBackend_Software_CreateWindow(const char *window_title, int screen_wi
|
|||
|
||||
// Initialise vertex position buffer
|
||||
const float vertex_positions[4][2] = {
|
||||
{-1.0f, -1.0f},
|
||||
{-1.0f, 1.0f},
|
||||
{ 1.0f, 1.0f},
|
||||
{ 1.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 |
|
||||
|
|
Loading…
Add table
Reference in a new issue