mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 13:56:32 +08:00
This commit is contained in:
1 parent
094f67e333
commit
896b00148a
14 files changed
+963
-60
No files matched your search
@@ -241,10 +241,12 @@ func (r *Reader) loadRes(resPath string) {
|
||||
for i := range res.DrawParams.DrawParam {
|
||||
dp := &res.DrawParams.DrawParam[i]
|
||||
r.drawParamCache[dp.ID] = dp
|
||||
r.resourceFiles[dp.ID] = fullPath
|
||||
}
|
||||
for i := range res.CompositeGraphicUnits.CompositeGraphicUnit {
|
||||
cgu := &res.CompositeGraphicUnits.CompositeGraphicUnit[i]
|
||||
r.compositeGraphicUnitCache[cgu.ID] = cgu
|
||||
r.resourceFiles[cgu.ID] = fullPath
|
||||
}
|
||||
r.resourcesRead[fullPath] = true
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user