From 4b9ff3cd42be427e478743648e9951bf8c189a04 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 24 Jun 2021 15:56:58 +1000 Subject: Cleanup: comment blocks, trailing space in comments --- source/blender/draw/intern/draw_common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/draw/intern/draw_common.h') diff --git a/source/blender/draw/intern/draw_common.h b/source/blender/draw/intern/draw_common.h index 6e3a73a8314..7e6e1f03f8a 100644 --- a/source/blender/draw/intern/draw_common.h +++ b/source/blender/draw/intern/draw_common.h @@ -142,8 +142,8 @@ typedef struct GlobalsUboStorage { float colorUVShadow[4]; /* NOTE! Put all color before UBO_LAST_COLOR */ - float screenVecs[2][4]; /* padded as vec4 */ - float sizeViewport[2], sizeViewportInv[2]; /* packed as vec4 in glsl */ + float screenVecs[2][4]; /* Padded as vec4. */ + float sizeViewport[2], sizeViewportInv[2]; /* Packed as vec4 in GLSL. */ /* Pack individual float at the end of the buffer to avoid alignment errors */ float sizePixel, pixelFac; @@ -190,7 +190,7 @@ void DRW_hair_free(void); /* draw_fluid.c */ -/* Fluid simulation. */ +/* Fluid simulation. */ void DRW_smoke_ensure(struct FluidModifierData *fmd, int highres); void DRW_smoke_ensure_coba_field(struct FluidModifierData *fmd); void DRW_smoke_ensure_velocity(struct FluidModifierData *fmd); @@ -206,7 +206,7 @@ struct DRW_Global { * Add needed theme colors / values to DRW_globals_update() and update UBO * Not needed for constant color. */ GlobalsUboStorage block; - /** Define "globalsBlock" uniform for 'block'. */ + /** Define "globalsBlock" uniform for 'block'. */ struct GPUUniformBuf *block_ubo; struct GPUTexture *ramp; -- cgit v1.2.3