This commit is contained in:
bird_egop
2026-06-05 20:47:57 +03:00
parent 195e6d71bd
commit 614787789e
11 changed files with 446 additions and 42 deletions
@@ -25,7 +25,7 @@ public sealed class MsaaFramebuffer
_samples = samples;
}
public void EnsureSize(int width, int height)
public unsafe void EnsureSize(int width, int height)
{
width = Math.Max(1, width);
height = Math.Max(1, height);