on master help sign in
Move type to WebGL.Texture
commit12064b230ecb020960be5b7c2711a3969307cc68 authorEvan Czaplicki <evancz@users.noreply.github.com> dateMon 14 May 2018, 16:02 (8 years ago) parent61075c0
2 files changed+7−2
compiler/src/AST/Module/Name.hs+6−1 compiler/src/Type/Type.hs+1−1
compiler/src/AST/Module/Name.hs+6−1
@@ -7,7 +7,7 @@ module AST.Module.Name
77 , platform, cmd, sub
88 , virtualDom, debug, bitwise
99 , jsonDecode, jsonEncode
10− , webgl, vector2, vector3, vector4, matrix4
10+ , webgl, texture, vector2, vector3, vector4, matrix4
1111 , isKernel, getKernel, canonicalIsKernel
1212 )
1313 where
@@ -152,6 +152,11 @@ webgl :: Canonical
152152webgl = Canonical Pkg.webgl "WebGL"
153153
154154
155+{-# NOINLINE texture #-}
156+texture :: Canonical
157+texture = Canonical Pkg.webgl "WebGL.Texture"
158+
159+
155160{-# NOINLINE vector2 #-}
156161vector2 :: Canonical
157162vector2 = Canonical Pkg.linearAlgebra "Math.Vector2"
compiler/src/Type/Type.hs+1−1
@@ -253,7 +253,7 @@ mat4 = AppN ModuleName.matrix4 "Mat4" []
253253
254254{-# NOINLINE texture #-}
255255texture :: Type
256−texture = AppN ModuleName.webgl "Texture" []
256+texture = AppN ModuleName.texture "Texture" []
257257
258258
259259