diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-12-23 22:39:03 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2015-12-23 22:39:03 +0300 |
commit | 1a2b5d9a8bdb0b48b0cbc421483be8005257f6fa (patch) | |
tree | e3d4ce9af457923675acca115d5181f6da517301 /source/blender/gpu/GPU_texture.h | |
parent | 93c75bf99205504d5cec35829813af23b48d7cb0 (diff) |
Fix a few warnings with Apple LLVM 7.0.2.
Diffstat (limited to 'source/blender/gpu/GPU_texture.h')
-rw-r--r-- | source/blender/gpu/GPU_texture.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h index a17da53b890..5300061396c 100644 --- a/source/blender/gpu/GPU_texture.h +++ b/source/blender/gpu/GPU_texture.h @@ -40,7 +40,7 @@ struct Image; struct ImageUser; struct PreviewImage; -typedef struct GPUFrameBuffer GPUFrameBuffer; +struct GPUFrameBuffer; typedef struct GPUTexture GPUTexture; /* GPU Texture @@ -87,9 +87,9 @@ int GPU_texture_bound_number(GPUTexture *tex); void GPU_texture_filter_mode(GPUTexture *tex, bool compare, bool use_filter); -GPUFrameBuffer *GPU_texture_framebuffer(GPUTexture *tex); +struct GPUFrameBuffer *GPU_texture_framebuffer(GPUTexture *tex); int GPU_texture_framebuffer_attachment(GPUTexture *tex); -void GPU_texture_framebuffer_set(GPUTexture *tex, GPUFrameBuffer *fb, int attachment); +void GPU_texture_framebuffer_set(GPUTexture *tex, struct GPUFrameBuffer *fb, int attachment); int GPU_texture_target(const GPUTexture *tex); int GPU_texture_width(const GPUTexture *tex); |