Skip to content

Commit

Permalink
feat(shader): fix "no material shader"->HandleNoMaterialShaderUniform…
Browse files Browse the repository at this point in the history
…ConfigDataService: useSendUniformService.getSendCachableDataByType(type_)
  • Loading branch information
yyc-git committed May 14, 2019
1 parent 2a4affd commit e2644e6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ let addSendData = ((field, pos, name, type_, uniformCacheMap), sendDataArr) =>
sendDataArr,
/* TODO refactor(extend): change to custom shader instead of no material shader! */
/* GetBasicMaterialDataGetRenderDataService.getColor */
(Obj.magic(-1), Obj.magic(-1)),
(
Obj.magic(-1),
SendUniformService.getSendCachableDataByType(type_),
),
)
}
| _ =>
Expand Down

0 comments on commit e2644e6

Please sign in to comment.