glsl fixed version.
This commit is contained in:
parent
3befd13c33
commit
6a760bda84
|
@ -29,7 +29,7 @@ ipc = ["zero-ui-view-api/ipc"]
|
|||
# * Define these two env vars `set CC=clang-cl` and `set CXX=clang-cl`.
|
||||
#
|
||||
# Feature enabled by default.
|
||||
software = ["swgl", "glsl"]
|
||||
software = ["swgl"]
|
||||
|
||||
# Enables AVIF decoding and encoding.
|
||||
#
|
||||
|
@ -64,7 +64,6 @@ crate-type = ["lib", "cdylib"]
|
|||
[dependencies]
|
||||
webrender = { git = "https://github.com/SamRodri/webrender.git" }
|
||||
swgl = { git = "https://github.com/SamRodri/webrender.git", optional = true }
|
||||
glsl = { version = "=6.0.2", optional = true } # pin version for swgl (there is a breaking change in glsl 6.0.3
|
||||
|
||||
zero-ui-view-api = { path = "../zero-ui-view-api", default-features = false }
|
||||
zero-ui-unit = { path = "../zero-ui-unit" }
|
||||
|
|
|
@ -307,6 +307,16 @@ pub mod wgt_prelude {
|
|||
}
|
||||
|
||||
/// Hash-map of type erased values, useful for storing assorted dynamic state.
|
||||
///
|
||||
/// A new map can be instantiated using [`OwnedStateMap`], but in a typical app you use maps provided by
|
||||
/// the API. The most common widget maps are [`WIDGET.with_state_mut`] that is associated
|
||||
/// with the widget instance and [`WidgetInfoBuilder::meta`] that is associated with the widget info.
|
||||
///
|
||||
/// See [`zero_ui_state_map`] for the full API.
|
||||
///
|
||||
/// [`WIDGET.with_state_mut`]: widget::WIDGET::with_state_mut
|
||||
/// [`WidgetInfoBuilder::meta`]: widget::info::WidgetInfoBuilder::meta
|
||||
/// [`OwnedStateMap`]: state_map::OwnedStateMap
|
||||
pub mod state_map {
|
||||
pub use zero_ui_state_map::{
|
||||
state_map::{OccupiedStateMapEntry, StateMapEntry, VacantStateMapEntry},
|
||||
|
@ -561,7 +571,7 @@ pub mod var {
|
|||
///
|
||||
/// # Full API
|
||||
///
|
||||
/// This module provides most of the app API needed to make and extend apps, some more advanced or experimental APIs
|
||||
/// This module provides most of the app API needed to make and extend apps, some more advanced or experimental API
|
||||
/// may be available at the [`zero_ui_app`] and [`zero_ui_app_context`] base crates.
|
||||
pub mod app {
|
||||
pub use zero_ui_app::{
|
||||
|
|
Loading…
Reference in New Issue