diff options
-rw-r--r-- | drivers/gles2/rasterizer_storage_gles2.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index c9c4cd3892..22c05d9d77 100644 --- a/drivers/gles2/rasterizer_storage_gles2.cpp +++ b/drivers/gles2/rasterizer_storage_gles2.cpp @@ -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; |