Skip to content

Commit

Permalink
(fix) GDisplayList derives from RootObj
Browse files Browse the repository at this point in the history
  • Loading branch information
xTrayambak committed Apr 27, 2024
1 parent 2e1d71a commit e736415
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ferusgfx/displaylist.nim
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ type
drawable*: T
mut*: M

GDisplayList*[D: not void] = object
scene: ptr Scene
GDisplayList*[D: not void] = object of RootObj
doClearAll*: bool

adds: seq[D]
removes: seq[uint]
posChange: seq[DrawableMutationUnion[D, Vec2]]

DisplayList* = GDisplayList[Drawable]
DisplayList* = object of GDisplayList[Drawable]
scene: ptr Scene

iterator items*[T, M](
unions: seq[DrawableMutationUnion[T, M]]
Expand Down

0 comments on commit e736415

Please sign in to comment.