diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 15:30:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 15:30:59 +0300 |
commit | cd972535027a73ba70069051fe9038b6a8b5696a (patch) | |
tree | b50696bddbc710192b89e34fcdd1e82e6c8073b7 /source/blender/gpu/GPU_buffers.h | |
parent | aca76ddb502cbf0ee7888c3356f9f35240919410 (diff) |
- added GCC warning -Wstrict-prototypes
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.
Diffstat (limited to 'source/blender/gpu/GPU_buffers.h')
-rw-r--r-- | source/blender/gpu/GPU_buffers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h index 6f552e087d7..342cc6b72a3 100644 --- a/source/blender/gpu/GPU_buffers.h +++ b/source/blender/gpu/GPU_buffers.h @@ -121,7 +121,7 @@ typedef struct GPUAttrib int type; } GPUAttrib; -GPUBufferPool *GPU_buffer_pool_new(); +GPUBufferPool *GPU_buffer_pool_new(void); void GPU_buffer_pool_free( GPUBufferPool *pool ); void GPU_buffer_pool_free_unused( GPUBufferPool *pool ); @@ -171,7 +171,7 @@ void GPU_color_switch( int mode ); void GPU_buffer_draw_elements( GPUBuffer *elements, unsigned int mode, int start, int count ); /* called after drawing */ -void GPU_buffer_unbind(); +void GPU_buffer_unbind(void); int GPU_buffer_legacy( struct DerivedMesh *dm ); |