From: Ash Tyndall Date: Fri, 21 Oct 2011 02:31:29 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=3affec0660cc9e92f4dc1c23af711b09a9d72866;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index bb80b65..ca81321 100644 --- a/scene.c +++ b/scene.c @@ -415,6 +415,7 @@ int main(int argc, char **argv) { glEnable(GL_DEPTH_TEST); // Enables Depth Testing glDepthFunc(GL_LEQUAL); // the type glEnable(GL_TEXTURE_2D); + glEnable(GL_CULL_FACE); glEnable(GL_NORMALIZE); glLineWidth(2.0);