Remove unused method in RasterizerStorageGLES2
Added in 4f4e46edd5
but not used in the end.
This commit is contained in:
parent
6f704c338a
commit
2a45b298c1
1 changed files with 0 additions and 9 deletions
|
@ -1715,15 +1715,6 @@ RID RasterizerStorageGLES2::mesh_create() {
|
||||||
return mesh_owner.make_rid(mesh);
|
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) {
|
static PoolVector<uint8_t> _unpack_half_floats(const PoolVector<uint8_t> &array, uint32_t &format, int p_vertices) {
|
||||||
|
|
||||||
uint32_t p_format = format;
|
uint32_t p_format = format;
|
||||||
|
|
Loading…
Reference in a new issue