Commit 2a45b298 by Rémi Verschelde

Remove unused method in RasterizerStorageGLES2

Added in 4f4e46ed but not used in the end.
parent 6f704c33
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment