summaryrefslogtreecommitdiffstats
path: root/src/controller/callbacks/display.c (plain)
blob: b9a76a65f137d9b95d081456b0555ae3f270c43c
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "display.h"
#include "../../view/geometry.h"
#include <GL/glut.h>

void
display (void)
{
  glClear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
  geometry (GL_RENDER);
  glutSwapBuffers ();

  return;
}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.