diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-23 22:13:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-23 22:13:43 +0300 |
commit | 40a345a9c75259216c158ec509e756c4d3f19fd5 (patch) | |
tree | 48a7c787e2d29bf608f1f6cc350733a853d56d86 /source/blender/gpu/intern | |
parent | 04e9a707f4cec2dfd88ac595de29c941f677f3c4 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 4 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 68e268cbc4f..944011879b5 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -184,8 +184,8 @@ static void gpu_parse_functions_string(GHash *hash, char *code) /* add parameter */ code = gpu_str_skip_token(code, NULL, 0); code = gpu_str_skip_token(code, NULL, 0); - function->paramqual[function->totparam]= qual; - function->paramtype[function->totparam]= type; + function->paramqual[function->totparam] = qual; + function->paramtype[function->totparam] = type; function->totparam++; } else { diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index bab489a7d22..b757aff4bdb 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -773,7 +773,7 @@ GPUTexture *GPU_texture_from_preview(PreviewImage *prv, int mipmap) tex->refcount = 1; tex->target = GL_TEXTURE_2D; - prv->gputexture[0]= tex; + prv->gputexture[0] = tex; if (!glIsTexture(tex->bindcode)) { GPU_ASSERT_NO_GL_ERRORS("Blender Texture Not Loaded"); |