diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-03-25 04:35:25 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-03-25 21:06:12 +0300 |
commit | a78f5accbba961e02d9746b73e170f4e0bb705aa (patch) | |
tree | cf3f80123a381ccc1e98fbf28548be2a6c30050a | |
parent | 37a7cd83440573233383166931db5a5216e77698 (diff) |
GPUTexture: Style: Respect 120 char per line limit.
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c index 1aee994f29e..b8368343a88 100644 --- a/source/blender/gpu/intern/gpu_texture.c +++ b/source/blender/gpu/intern/gpu_texture.c @@ -715,7 +715,8 @@ GPUTexture *GPU_texture_create_2D_custom_multisample( return GPU_texture_create_nD(w, h, 0, 2, pixels, data_type, channels, samples, false, err_out); } -GPUTexture *GPU_texture_create_2D_array_custom(int w, int h, int d, int channels, GPUTextureFormat data_type, const float *pixels, char err_out[256]) +GPUTexture *GPU_texture_create_2D_array_custom( + int w, int h, int d, int channels, GPUTextureFormat data_type, const float *pixels, char err_out[256]) { return GPU_texture_create_nD(w, h, d, 2, pixels, data_type, channels, 0, false, err_out); } @@ -725,11 +726,13 @@ GPUTexture *GPU_texture_create_3D(int w, int h, int d, const float *pixels, char return GPU_texture_create_nD(w, h, d, 3, pixels, GPU_RGBA8, 4, 0, true, err_out); } -GPUTexture *GPU_texture_create_3D_custom(int w, int h, int d, int channels, GPUTextureFormat data_type, const float *pixels, char err_out[256]) +GPUTexture *GPU_texture_create_3D_custom( + int w, int h, int d, int channels, GPUTextureFormat data_type, const float *pixels, char err_out[256]) { return GPU_texture_create_nD(w, h, d, 3, pixels, data_type, channels, 0, true, err_out); } -GPUTexture *GPU_texture_create_cube_custom(int w, int channels, GPUTextureFormat data_type, const float *fpixels, char err_out[256]) +GPUTexture *GPU_texture_create_cube_custom( + int w, int channels, GPUTextureFormat data_type, const float *fpixels, char err_out[256]) { const float *fpixels_px, *fpixels_py, *fpixels_pz, *fpixels_nx, *fpixels_ny, *fpixels_nz; @@ -745,7 +748,8 @@ GPUTexture *GPU_texture_create_cube_custom(int w, int channels, GPUTextureFormat fpixels_px = fpixels_py = fpixels_pz = fpixels_nx = fpixels_ny = fpixels_nz = NULL; } - return GPU_texture_cube_create(w, 0, fpixels_px, fpixels_py, fpixels_pz, fpixels_nx, fpixels_ny, fpixels_nz, data_type, channels, err_out); + return GPU_texture_cube_create(w, 0, fpixels_px, fpixels_py, fpixels_pz, fpixels_nx, fpixels_ny, fpixels_nz, + data_type, channels, err_out); } GPUTexture *GPU_texture_create_depth(int w, int h, char err_out[256]) |