upgraded to webgl2

This commit is contained in:
dongho
2024-09-03 16:21:56 +09:00
parent f16a721d2d
commit 7bf70c6010
6 changed files with 200 additions and 73 deletions

View File

@ -13,13 +13,7 @@ js-sys = "0.3.70"
[dependencies.web-sys]
version = "0.3.4"
features = [
'Document',
'Element',
'HtmlElement',
'Node',
'Window',
]
features = ["Document", "Element", "HtmlElement", "Node", "Window", "HtmlCanvasElement", "WebGlBuffer", "WebGlVertexArrayObject", "WebGl2RenderingContext", "WebGlProgram", "WebGlShader"]
[lib]
crate-type = ["cdylib", "rlib"]