Merge pull request #57688 from The-O-King/ios_half_float_fix
Re-fix Disabling Half Floats on iOS
This commit is contained in:
commit
002e705367
|
@ -2287,6 +2287,7 @@ void RasterizerStorageGLES2::mesh_add_surface(RID p_mesh, uint32_t p_format, VS:
|
|||
if (p_format & VS::ARRAY_COMPRESS_VERTEX) {
|
||||
attribs[i].type = _GL_HALF_FLOAT_OES;
|
||||
positions_stride += attribs[i].size * 2;
|
||||
uses_half_float = true;
|
||||
} else {
|
||||
attribs[i].type = GL_FLOAT;
|
||||
positions_stride += attribs[i].size * 4;
|
||||
|
|
Loading…
Reference in New Issue