diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 08:38:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-08 08:38:35 +0400 |
commit | e61339a76fe346f9d9bd45c01f60aa93506eee42 (patch) | |
tree | a4ed4ec2e755307c91e8562b5d5da566d34163a8 /source/blender/gpu | |
parent | 79d97ca509a3804e3a174959a65267826a6ea77a (diff) |
code cleanup: duplicate checks and double assignments.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index 8129b27a66e..ea47e67c1e6 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -183,12 +183,12 @@ void GPU_extensions_init(void) * really needed to prevent different unexpected behaviors like with intel gme965 card (sergey) */ glLightModeli(GL_LIGHT_MODEL_TWO_SIDE, GL_FALSE); - GG.os = GPU_OS_UNIX; #ifdef _WIN32 GG.os = GPU_OS_WIN; -#endif -#ifdef __APPLE__ +#elif defined(__APPLE__) GG.os = GPU_OS_MAC; +#else + GG.os = GPU_OS_UNIX; #endif } |