nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gamnit: remove `Gamnit` from `GamnitRootTexture` and `GamnitSubtexture`
[nit.git]
/
lib
/
gamnit
/
flat.nit
diff --git
a/lib/gamnit/flat.nit
b/lib/gamnit/flat.nit
index
cfd8150
..
8edb17f
100644
(file)
--- a/
lib/gamnit/flat.nit
+++ b/
lib/gamnit/flat.nit
@@
-601,7
+601,7
@@
private class SpriteSet
super HashSet[Sprite]
# Map texture then static vs dynamic to a `SpriteContext`
super HashSet[Sprite]
# Map texture then static vs dynamic to a `SpriteContext`
- var contexts_map = new HashMap2[GamnitRootTexture, Bool, SpriteContext]
+ var contexts_map = new HashMap2[RootTexture, Bool, SpriteContext]
# Contexts in `contexts_map`
var contexts_items = new Array[SpriteContext]
# Contexts in `contexts_map`
var contexts_items = new Array[SpriteContext]
@@
-696,7
+696,7
@@
private class SpriteContext
# Context config and state
# Only root texture drawn by this context
# Context config and state
# Only root texture drawn by this context
- var texture: nullable GamnitRootTexture
+ var texture: nullable RootTexture
# OpenGL ES usage of `buffer_array` and `buffer_element`
var usage: GLBufferUsage
# OpenGL ES usage of `buffer_array` and `buffer_element`
var usage: GLBufferUsage