From d92154db833c60f391d8dc543b18690051c86446 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Sun, 5 Jun 2022 14:25:32 +0300 Subject: [PATCH] Draw sky light grey --- src/maze.cpp | 1 + y3s2-gui-project.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/maze.cpp b/src/maze.cpp index 1fa4f19..df41851 100644 --- a/src/maze.cpp +++ b/src/maze.cpp @@ -26,6 +26,7 @@ MazeScreen::MazeScreen(const std::vector>& maze): } void MazeScreen::display() { + glClearColor(0.8, 0.8, 0.8, 1); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); diff --git a/y3s2-gui-project.spec b/y3s2-gui-project.spec index 5317835..c9aff04 100644 --- a/y3s2-gui-project.spec +++ b/y3s2-gui-project.spec @@ -1,5 +1,5 @@ Name: y3s2-gui-project -Version: 1.0.6 +Version: 1.0.7 Release: 1%{?dist} Summary: Maze project in OpenGL for Graphics and User Interfaces lecture in year 3, semester 2