From: Ash Tyndall Date: Fri, 21 Oct 2011 01:19:56 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=874481319bb04b6e86e77a07679d1f10f8a38875;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index 7e287ed..bd927d9 100644 --- a/scene.c +++ b/scene.c @@ -410,6 +410,7 @@ int main(int argc, char **argv) { glDepthFunc(GL_LEQUAL); // the type glEnable(GL_CULL_FACE); glEnable(GL_TEXTURE_2D); + glEnable(GL_NORMALIZE); glLineWidth(1.0); glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);