summaryrefslogtreecommitdiff
path: root/servers/visual_server.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-09-23 16:01:05 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:01:33 +0100
commitbc3dbe82407d4b0310c3c3960386bcfc175636ef (patch)
tree1eb1176967fb1f1369540ac8622dcdf262bddf2a /servers/visual_server.cpp
parent123ee5995c989d7c2f0bb320fe94ef1702a48c13 (diff)
Properly working instancing, and compatibility fixing for old meshes
Diffstat (limited to 'servers/visual_server.cpp')
-rw-r--r--servers/visual_server.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp
index 0c72a09a91..da57ab3e33 100644
--- a/servers/visual_server.cpp
+++ b/servers/visual_server.cpp
@@ -1144,10 +1144,6 @@ Array VisualServer::_get_array_from_surface(uint32_t p_format, PoolVector<uint8_
elem_size *= sizeof(float);
}
- if (elem_size == 6) {
- elem_size = 8;
- }
-
} break;
case VS::ARRAY_NORMAL: {