Fix the menu background

fixes #333
This commit is contained in:
IntegratedQuantum 2024-04-27 13:38:25 +02:00
parent d450fa5f62
commit 41f0a9b08b

View File

@ -414,16 +414,16 @@ pub const MenuBackGround = struct {
c.glUniform1i(uniforms.image, 0);
// 4 sides of a simple cube with some panorama texture on it.
const rawData = [_]f32 {
-1, -1, -1, 1, 1,
-1, -1, 1, 1, 0,
-1, 1, -1, 0.75, 1,
-1, 1, 1, 0.75, 0,
1, 1, -1, 0.5, 1,
1, 1, 1, 0.5, 0,
1, -1, -1, 0.25, 1,
1, -1, 1, 0.25, 0,
-1, -1, -1, 0, 1,
-1, -1, 1, 0, 0,
-1, 1, -1, 1, 1,
-1, 1, 1, 1, 0,
-1, -1, -1, 0.75, 1,
-1, -1, 1, 0.75, 0,
1, -1, -1, 0.5, 1,
1, -1, 1, 0.5, 0,
1, 1, -1, 0.25, 1,
1, 1, 1, 0.25, 0,
-1, 1, -1, 0, 1,
-1, 1, 1, 0, 0,
};
const indices = [_]c_int {