summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorFurkan Türkal <furkan.turkal@hotmail.com>2019-06-22 15:52:51 +0300
committerFurkan Türkal <furkan.turkal@hotmail.com>2019-07-01 14:28:29 +0300
commit7d8d337b2c47df88498067ff9091386691242144 (patch)
tree50dc0cb8fa683586cc947a2994fe48b45bba91b8 /drivers
parent30383a1cdc00d398349515b81a85fa1d3da7ae37 (diff)
fix some crashes
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gles3/rasterizer_storage_gles3.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp
index 0840717d68..de899b367b 100644
--- a/drivers/gles3/rasterizer_storage_gles3.cpp
+++ b/drivers/gles3/rasterizer_storage_gles3.cpp
@@ -4644,7 +4644,6 @@ Transform2D RasterizerStorageGLES3::multimesh_instance_get_transform_2d(RID p_mu
}
Color RasterizerStorageGLES3::multimesh_instance_get_color(RID p_multimesh, int p_index) const {
-
MultiMesh *multimesh = multimesh_owner.getornull(p_multimesh);
ERR_FAIL_COND_V(!multimesh, Color());
ERR_FAIL_INDEX_V(p_index, multimesh->size, Color());