From 2a45b298c18cf68a629a36179b1fd6136546ee01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 23 Jan 2019 10:31:05 +0100 Subject: [PATCH] Remove unused method in RasterizerStorageGLES2 Added in 4f4e46edd539b0c26a6b086aa19c303b10de66b1 but not used in the end. --- drivers/gles2/rasterizer_storage_gles2.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index c9c4cd3892b..22c05d9d778 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 _unpack_half_floats(const PoolVector &array, uint32_t &format, int p_vertices) { uint32_t p_format = format;