summaryrefslogtreecommitdiff
path: root/src/main/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/game.c')
-rw-r--r--src/main/game.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/game.c b/src/main/game.c
index ea1a935..007bc8c 100644
--- a/src/main/game.c
+++ b/src/main/game.c
@@ -17,21 +17,13 @@
* along with Tris Game. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <GL/gl.h>
-
#include "engine/engine.h"
void
game_draw_field(int box_size, int x, int y)
{
- glLineWidth(5.0f);
- glBegin(GL_LINES);
- glColor3f(1.0f, 1.0f, 0.0f); /* Yellow */
-
engine_draw_line(box_size, y, box_size, box_size * 3);
engine_draw_line(box_size * 2, y, box_size * 2, box_size * 3);
engine_draw_line(x, box_size, box_size * 3, box_size);
engine_draw_line(x, box_size * 2, box_size * 3, box_size * 2);
-
- glEnd();
}