From 122d0d15047c1d84995262b1dd6488b9cb278257 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 21 Apr 2018 20:42:27 +0200 Subject: Cleanup: style --- source/blender/gpu/GPU_framebuffer.h | 2 +- source/blender/gpu/GPU_material.h | 2 +- source/blender/gpu/intern/gpu_texture.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/GPU_framebuffer.h b/source/blender/gpu/GPU_framebuffer.h index 0ab15a4ea47..c99733ec6da 100644 --- a/source/blender/gpu/GPU_framebuffer.h +++ b/source/blender/gpu/GPU_framebuffer.h @@ -43,7 +43,7 @@ typedef struct GPUAttachment { int mip, layer; } GPUAttachment; -typedef enum GPUFrameBufferBits{ +typedef enum GPUFrameBufferBits { GPU_COLOR_BIT = (1 << 0), GPU_DEPTH_BIT = (1 << 1), GPU_STENCIL_BIT = (1 << 2), diff --git a/source/blender/gpu/GPU_material.h b/source/blender/gpu/GPU_material.h index c9ef5ca3ae6..95492016f25 100644 --- a/source/blender/gpu/GPU_material.h +++ b/source/blender/gpu/GPU_material.h @@ -248,7 +248,7 @@ GPUMaterial *GPU_material_from_nodetree_find( GPUMaterial *GPU_material_from_nodetree( struct Scene *scene, struct bNodeTree *ntree, struct ListBase *gpumaterials, const void *engine_type, int options); void GPU_material_generate_pass( - GPUMaterial *mat, const char *vert_code, const char *geom_code, const char *frag_lib, const char *defines); + GPUMaterial *mat, const char *vert_code, const char *geom_code, const char *frag_lib, const char *defines); void GPU_material_free(struct ListBase *gpumaterial); void GPU_materials_free(void); diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c index bccc818aa34..30c83091448 100644 --- a/source/blender/gpu/intern/gpu_texture.c +++ b/source/blender/gpu/intern/gpu_texture.c @@ -51,7 +51,7 @@ static struct GPUTextureGlobal { /* Maximum number of FBOs a texture can be attached to. */ #define GPU_TEX_MAX_FBO_ATTACHED 8 -typedef enum GPUTextureFormatFlag{ +typedef enum GPUTextureFormatFlag { GPU_FORMAT_DEPTH = (1 << 0), GPU_FORMAT_STENCIL = (1 << 1), GPU_FORMAT_INTEGER = (1 << 2), -- cgit v1.2.3