mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
Fix issues with .NET 5.
This commit is contained in:
@@ -871,15 +871,15 @@ namespace Robust.Client.Graphics.Clyde
|
||||
BindVertexArray(_occlusionVao.Handle);
|
||||
CheckGlError();
|
||||
|
||||
_occlusionVbo.Reallocate(arrayBuffer.AsSpan(..ai));
|
||||
_occlusionVIVbo.Reallocate(arrayVIBuffer.AsSpan(..avi));
|
||||
_occlusionEbo.Reallocate(indexBuffer.AsSpan(..ii));
|
||||
_occlusionVbo.Reallocate(arrayBuffer.AsSpan(0, ai));
|
||||
_occlusionVIVbo.Reallocate(arrayVIBuffer.AsSpan(0, avi));
|
||||
_occlusionEbo.Reallocate(indexBuffer.AsSpan(0, ii));
|
||||
|
||||
BindVertexArray(_occlusionMaskVao.Handle);
|
||||
CheckGlError();
|
||||
|
||||
_occlusionMaskVbo.Reallocate(arrayMaskBuffer.AsSpan(..ami));
|
||||
_occlusionMaskEbo.Reallocate(indexMaskBuffer.AsSpan(..imi));
|
||||
_occlusionMaskVbo.Reallocate(arrayMaskBuffer.AsSpan(0, ami));
|
||||
_occlusionMaskEbo.Reallocate(indexMaskBuffer.AsSpan(0, imi));
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user