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:
authorCampbell Barton <ideasman42@gmail.com>2013-03-13 22:10:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-13 22:10:05 +0400
commit962865d19f4bd8639ac6c2064a3c82e5674e7802 (patch)
tree31938e1ccb78f7748f018e6e9be77dc280ca623b /source/blender/gpu/intern
parent5ff0daf1acdc5d88afcec016a379b33cb2cd1288 (diff)
fix for 2 errors where the 2d arrays were used as 3d. (out of bounds read).
also minor code cleanup.
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 08f4206e4ca..f5eaa716dfa 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -1128,7 +1128,7 @@ static void shader_print_errors(const char *task, char *log, const char *code)
fprintf(stderr, "%s\n", log);
}
-static const char *gpu_shader_standard_defines()
+static const char *gpu_shader_standard_defines(void)
{
/* some useful defines to detect GPU type */
if(GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_ANY, GPU_DRIVER_ANY))