Fixed bugs in rendering.

This commit is contained in:
2025-11-12 20:31:37 +09:00
parent 6cf2e35a9b
commit 708b8cd065
18 changed files with 102 additions and 90 deletions

View File

@@ -6,7 +6,7 @@ namespace Ghost.Entities.Query;
public struct QueryFilter : IDisposable
{
private readonly Stack.Scope _scope;
//private readonly Stack.Scope _scope;
internal UnsafeList<TypeHandle> _all;
internal UnsafeList<TypeHandle> _any;
@@ -15,7 +15,7 @@ public struct QueryFilter : IDisposable
public QueryFilter()
{
_scope = AllocationManager.CreateStackScope();
//_scope = AllocationManager.CreateStackScope();
_all = new UnsafeList<TypeHandle>(4, Allocator.Stack);
_any = new UnsafeList<TypeHandle>(4, Allocator.Stack);
@@ -92,6 +92,6 @@ public struct QueryFilter : IDisposable
public readonly void Dispose()
{
_scope.Dispose();
//_scope.Dispose();
}
}