Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2019-05-27 17:22:38 +0300
committerRay Molenkamp <github@lazydodo.com>2019-05-27 17:22:38 +0300
commit063ebd5836a8fcd8100c266f9314158a4e2b1608 (patch)
tree4cff2e0ab68b8a2e22978b121c67f016d4a7eba3 /source/blender/gpu/GPU_batch.h
parenta74041c96c71d675a8aa548dce3043438e5bd1ba (diff)
Cleanup: Fix warnings in bf_gpu
Declaration and implementation got out of sync leading to warnings.
Diffstat (limited to 'source/blender/gpu/GPU_batch.h')
-rw-r--r--source/blender/gpu/GPU_batch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_batch.h b/source/blender/gpu/GPU_batch.h
index 3b0d72831c0..5b0cab220c0 100644
--- a/source/blender/gpu/GPU_batch.h
+++ b/source/blender/gpu/GPU_batch.h
@@ -142,8 +142,8 @@ void GPU_batch_uniform_4f(GPUBatch *, const char *name, float x, float y, float
void GPU_batch_uniform_2fv(GPUBatch *, const char *name, const float data[2]);
void GPU_batch_uniform_3fv(GPUBatch *, const char *name, const float data[3]);
void GPU_batch_uniform_4fv(GPUBatch *, const char *name, const float data[4]);
-void GPU_batch_uniform_2fv_array(GPUBatch *, const char *name, int len, const float *data);
-void GPU_batch_uniform_4fv_array(GPUBatch *, const char *name, int len, const float *data);
+void GPU_batch_uniform_2fv_array(GPUBatch *, const char *name, const int len, const float *data);
+void GPU_batch_uniform_4fv_array(GPUBatch *, const char *name, const int len, const float *data);
void GPU_batch_uniform_mat4(GPUBatch *, const char *name, const float data[4][4]);
void GPU_batch_draw(GPUBatch *);