diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-20 20:43:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-20 20:43:48 +0400 |
commit | a744fed46c1378d5aa6996bf0be5421c0a1c27d4 (patch) | |
tree | d3bc5d00611058db31a8d0277edbecd42e3cd3a0 /source/blender/gpu | |
parent | ea122cf59bebf1f69559c76aae796e1f44c2e870 (diff) |
style cleanup
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_draw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_draw.c b/source/blender/gpu/intern/gpu_draw.c index e718a486561..4197e1a3edb 100644 --- a/source/blender/gpu/intern/gpu_draw.c +++ b/source/blender/gpu/intern/gpu_draw.c @@ -240,7 +240,8 @@ static struct GPUTextureState { /* Mipmap settings */ -void GPU_set_gpu_mipmapping(int gpu_mipmap){ +void GPU_set_gpu_mipmapping(int gpu_mipmap) +{ int old_value = GTS.gpu_mipmap; /* only actually enable if it's supported */ |