diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-11-19 08:16:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-11-19 14:52:13 +0300 |
commit | ae8e4d37180b0fd24a6565551a8d63101555cad9 (patch) | |
tree | 3aba99a7a98f6cff334957cfb357b2f474891b17 /source/blender/editors | |
parent | b8c40d47e0348a057e7fa7c49f49077f86a51d43 (diff) |
Cleanup: redundant 'break', minor edits
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/render/render_opengl.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/render/render_opengl.c b/source/blender/editors/render/render_opengl.c index a194178ef40..1e5fdf7b0d3 100644 --- a/source/blender/editors/render/render_opengl.c +++ b/source/blender/editors/render/render_opengl.c @@ -302,7 +302,7 @@ static void screen_opengl_render_doit(OGLRender *oglrender, RenderResult *rr) if (gpd) { int i; unsigned char *gp_rect; - unsigned char *rect = (unsigned char*)RE_RenderViewGetById(rr, oglrender->view_id)->rect32; + unsigned char *rect = (unsigned char *)RE_RenderViewGetById(rr, oglrender->view_id)->rect32; GPU_offscreen_bind(oglrender->ofs, true); diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index f0c9c023876..a43fb902834 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -564,7 +564,6 @@ BlurKernel *paint_new_blur_kernel(Brush *br, bool proj) MEM_freeN(kernel->wdata); MEM_freeN(kernel); return NULL; - break; } return kernel; |