mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
WIP: rust WebGL rendering
This commit is contained in:
@@ -8,10 +8,24 @@ edition = "2018"
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
js-sys = "0.3"
|
||||
lazy_static = "1"
|
||||
serde = "1"
|
||||
serde_json = "1"
|
||||
wasm-bindgen = "0.2"
|
||||
# web-sys = { version = "0.3.5", features = ['console', 'Performance', 'Window'] }
|
||||
|
||||
emgui = { path = "../emgui" }
|
||||
|
||||
[dependencies.web-sys]
|
||||
version = "0.3"
|
||||
features = [
|
||||
'Document',
|
||||
'Element',
|
||||
'HtmlCanvasElement',
|
||||
'WebGlBuffer',
|
||||
'WebGlProgram',
|
||||
'WebGlRenderingContext',
|
||||
'WebGlShader',
|
||||
'WebGlUniformLocation',
|
||||
'Window',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user