diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-05 14:41:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-05 15:02:57 +0300 |
commit | 6eb8340ef45a2bc4d28db5430f1cf9e890c93c3e (patch) | |
tree | 0677f49caf9604e12c3e34a02d10775c837655ea /source/blender/gpu/intern/gpu_material_library.h | |
parent | 416e006a2aee09a6354fad9aec6a3f44f9f758b8 (diff) |
Cleanup: use const arguments
Diffstat (limited to 'source/blender/gpu/intern/gpu_material_library.h')
-rw-r--r-- | source/blender/gpu/intern/gpu_material_library.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_material_library.h b/source/blender/gpu/intern/gpu_material_library.h index da7b1636fa3..782d89d6f2a 100644 --- a/source/blender/gpu/intern/gpu_material_library.h +++ b/source/blender/gpu/intern/gpu_material_library.h @@ -62,5 +62,5 @@ char *gpu_material_library_generate_code(struct GSet *used_libraries, const char /* Code Parsing */ -char *gpu_str_skip_token(char *str, char *token, int max); +const char *gpu_str_skip_token(const char *str, char *token, int max); const char *gpu_data_type_to_string(const eGPUType type); |