Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-26 01:27:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-26 01:27:45 +0400
commit72e1316dc4b607440430779d78a26a76a4527c4b (patch)
tree70dd28c09f303e1776da7290a8fefea4d153feaf /source/blender/gpu/intern/gpu_extensions.c
parented46c2344e93a39cdcf6bb51484a0e515bad4ac8 (diff)
minor style edits
- use GL_TRUE/FALSE for glLightModeli - use set for python checks against multiple string values.
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 002563ada4b..dfbb243aa7a 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -181,7 +181,7 @@ void GPU_extensions_init(void)
/* make sure double side isn't used by defautl and only getting enabled in places where it's
* really needed to prevent different unexpected behaviors like with intel gme965 card (sergey) */
- glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, 0);
+ glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_FALSE);
GG.os = GPU_OS_UNIX;
#ifdef _WIN32