[Bf-blender-cvs] [41c84bb08bd] eevee-rewrite: EEVEE: More Windows 64bits changes
Antonio Vazquez
noreply at git.blender.org
Mon Sep 13 17:18:08 CEST 2021
Commit: 41c84bb08bdb86c7e4319b6b20ae607689b85987
Author: Antonio Vazquez
Date: Mon Sep 13 17:14:54 2021 +0200
Branches: eevee-rewrite
https://developer.blender.org/rB41c84bb08bdb86c7e4319b6b20ae607689b85987
EEVEE: More Windows 64bits changes
Missing in previous commit
===================================================================
M source/blender/draw/intern/draw_manager_shader.c
===================================================================
diff --git a/source/blender/draw/intern/draw_manager_shader.c b/source/blender/draw/intern/draw_manager_shader.c
index 6651fd97779..e27a0954f19 100644
--- a/source/blender/draw/intern/draw_manager_shader.c
+++ b/source/blender/draw/intern/draw_manager_shader.c
@@ -635,8 +635,8 @@ char *DRW_shader_library_create_shader_string(const DRWShaderLibrary *lib, const
}
}
/* Concatenate all needed libs into one string. */
- for (int i = 0; i < MAX_LIB && deps != 0lu; i++, deps >>= 1lu) {
- if (deps & 1lu) {
+ for (int i = 0; i < MAX_LIB && deps != 0llu; i++, deps >>= 1llu) {
+ if (deps & 1llu) {
BLI_dynstr_append(ds, lib->libs[i]);
}
}
@@ -644,8 +644,8 @@ char *DRW_shader_library_create_shader_string(const DRWShaderLibrary *lib, const
BLI_dynstr_append(ds, shader_code);
/* Concatenate all needed libs into one string. */
- for (int i = 0; i < MAX_LIB && deps_post != 0lu; i++, deps_post >>= 1lu) {
- if (deps_post & 1lu) {
+ for (int i = 0; i < MAX_LIB && deps_post != 0llu; i++, deps_post >>= 1llu) {
+ if (deps_post & 1llu) {
BLI_dynstr_append(ds, lib->libs[i]);
}
}
More information about the Bf-blender-cvs
mailing list