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_shader.h | |
parent | 93c75bf99205504d5cec35829813af23b48d7cb0 (diff) |
Fix a few warnings with Apple LLVM 7.0.2.
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
-rw-r--r-- | source/blender/gpu/GPU_shader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/gpu/GPU_shader.h b/source/blender/gpu/GPU_shader.h index a7cfd4e262f..b80c425818d 100644 --- a/source/blender/gpu/GPU_shader.h +++ b/source/blender/gpu/GPU_shader.h @@ -38,7 +38,7 @@ extern "C" { typedef struct GPUShader GPUShader; typedef struct GPUProgram GPUProgram; -typedef struct GPUTexture GPUTexture; +struct GPUTexture; /* Builtin/Non-generated shaders */ typedef enum GPUProgramType { @@ -81,7 +81,7 @@ void GPU_shader_uniform_vector(GPUShader *shader, int location, int length, void GPU_shader_uniform_vector_int(GPUShader *shader, int location, int length, int arraysize, const int *value); -void GPU_shader_uniform_texture(GPUShader *shader, int location, GPUTexture *tex); +void GPU_shader_uniform_texture(GPUShader *shader, int location, struct GPUTexture *tex); void GPU_shader_uniform_int(GPUShader *shader, int location, int value); void GPU_shader_geometry_stage_primitive_io(GPUShader *shader, int input, int output, int number); |