Explorar o código

Remove unused method in RasterizerStorageGLES2

Added in 4f4e46edd539b0c26a6b086aa19c303b10de66b1 but not used in the end.
Rémi Verschelde %!s(int64=6) %!d(string=hai) anos
pai
achega
2a45b298c1
Modificáronse 1 ficheiros con 0 adicións e 9 borrados
  1. 0 9
      drivers/gles2/rasterizer_storage_gles2.cpp

+ 0 - 9
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;