examples/gkurve: change window size to default
This commit is contained in:
parent
657091ed65
commit
be935c64ef
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ pub const vertices = [_]Vertex{
|
||||||
.{ .pos = .{ WINDOW_WIDTH / 2 - TRIANGLE_SCALE, WINDOW_HEIGHT / 2 + 0, 0, 1 }, .uv = .{ 1, 0 } },
|
.{ .pos = .{ WINDOW_WIDTH / 2 - TRIANGLE_SCALE, WINDOW_HEIGHT / 2 + 0, 0, 1 }, .uv = .{ 1, 0 } },
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const options = mach.Options{ .width = 512, .height = 512 };
|
pub const options = mach.Options{ .width = 640, .height = 480 };
|
||||||
|
|
||||||
// The uniform read by the vertex shader, it contains the matrix
|
// The uniform read by the vertex shader, it contains the matrix
|
||||||
// that will move vertices
|
// that will move vertices
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue