summaryrefslogtreecommitdiffstats
path: root/servers/visual_server.h
diff options
context:
space:
mode:
authorThomas Herzog <karroffel@users.noreply.github.com>2017-06-19 23:46:54 +0200
committerGitHub <noreply@github.com>2017-06-19 23:46:54 +0200
commitbfac7c476d674573bcc94f422d8fd74c4aee2a6b (patch)
tree6f2b2075608b187aa28f21d1a5c11a6533ee284a /servers/visual_server.h
parentb6b225f4c5c3a9b91cc9ae8e9e283b0dd31a54cd (diff)
parentfd5b92983127d790e3422a1853992a16102e0a05 (diff)
downloadredot-engine-bfac7c476d674573bcc94f422d8fd74c4aee2a6b.tar.gz
Merge pull request #8629 from hikari-no-yume/Sprite3D_double_sided_flag_master
Add double-sided flag to SpriteBase3D [master]
Diffstat (limited to 'servers/visual_server.h')
-rw-r--r--servers/visual_server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h
index a27b32f54f..589fa80084 100644
--- a/servers/visual_server.h
+++ b/servers/visual_server.h
@@ -60,7 +60,7 @@ protected:
RID test_texture;
RID white_texture;
RID test_material;
- RID material_2d[16];
+ RID material_2d[32];
Error _surface_set_data(Array p_arrays, uint32_t p_format, uint32_t *p_offsets, uint32_t p_stride, PoolVector<uint8_t> &r_vertex_array, int p_vertex_array_len, PoolVector<uint8_t> &r_index_array, int p_index_array_len, Rect3 &r_aabb, Vector<Rect3> r_bone_aabb);
@@ -909,7 +909,7 @@ public:
/* Materials for 2D on 3D */
- RID material_2d_get(bool p_shaded, bool p_transparent, bool p_cut_alpha, bool p_opaque_prepass);
+ RID material_2d_get(bool p_shaded, bool p_transparent, bool p_double_sided, bool p_cut_alpha, bool p_opaque_prepass);
/* TESTING */