summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2019-11-25 07:36:07 -0800
committerclayjohn <claynjohn@gmail.com>2019-11-25 07:36:07 -0800
commit85dba0c09da37eb89afa75058001dba70f51f1c4 (patch)
tree42d1be83cc51d52e07a3601b06b63a1857367261
parente297b83b8e7c335c4ccf96b7bacd42f3cc7e52c8 (diff)
Fix bug where specularmode disabled is not cached
-rw-r--r--scene/resources/material.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/material.h b/scene/resources/material.h
index 1c69a754b6..11f8f20cf3 100644
--- a/scene/resources/material.h
+++ b/scene/resources/material.h
@@ -252,7 +252,7 @@ private:
uint64_t flags : 18;
uint64_t detail_blend_mode : 2;
uint64_t diffuse_mode : 3;
- uint64_t specular_mode : 2;
+ uint64_t specular_mode : 3;
uint64_t invalid_key : 1;
uint64_t deep_parallax : 1;
uint64_t billboard_mode : 2;