Remove unused method in RasterizerStorageGLES2

Added in 4f4e46edd5 but not used in the end.
This commit is contained in:
Rémi Verschelde 2019-01-23 10:31:05 +01:00
parent 6f704c338a
commit 2a45b298c1

View file

@ -1715,15 +1715,6 @@ RID RasterizerStorageGLES2::mesh_create() {
return mesh_owner.make_rid(mesh);
}
static float Float16ToFloat(short fltInt16) {
int fltInt32 = ((fltInt16 & 0x8000) << 16);
fltInt32 |= ((fltInt16 & 0x7fff) << 13) + 0x38000000;
float fRet;
memcpy(&fRet, &fltInt32, sizeof(float));
return fRet;
}
static PoolVector<uint8_t> _unpack_half_floats(const PoolVector<uint8_t> &array, uint32_t &format, int p_vertices) {
uint32_t p_format = format;