Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
not-fl3 committed Feb 21, 2024
1 parent 64f03a4 commit b820d0f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ opt-level = 3
all-features = true

[dependencies]
miniquad = { version = "=0.4.0-alpha.10", features = ["log-impl"] }
miniquad = { version = "=0.4.0", features = ["log-impl"] }
quad-rand = "0.2.1"
glam = {version = "0.21", features = ["scalar-math"] }
image = { version = "0.24", default-features = false, features = ["png", "tga"] }
Expand Down
4 changes: 2 additions & 2 deletions src/quad_gl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ impl MagicSnapshotter {
)
.unwrap_or_else(|e| panic!("Failed to load shader: {}", e));

let pipeline = ctx.new_pipeline_with_params(
let pipeline = ctx.new_pipeline(
&[BufferLayout::default()],
&[
VertexAttribute::new("position", VertexFormat::Float2),
Expand Down Expand Up @@ -516,7 +516,7 @@ impl PipelinesStorage {
mut uniforms: Vec<(String, UniformType)>,
textures: Vec<String>,
) -> GlPipeline {
let pipeline = ctx.new_pipeline_with_params(
let pipeline = ctx.new_pipeline(
&[BufferLayout::default()],
&[
VertexAttribute::new("position", VertexFormat::Float3),
Expand Down
2 changes: 2 additions & 0 deletions src/texture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,9 @@ impl Texture2D {
let internal_format = match params.format {
TextureFormat::RGB8 => miniquad::gl::GL_RGB,
TextureFormat::RGBA8 => miniquad::gl::GL_RGBA,
TextureFormat::RGBA16F => miniquad::gl::GL_RGBA,
TextureFormat::Depth => miniquad::gl::GL_DEPTH_COMPONENT,
TextureFormat::Depth32 => miniquad::gl::GL_DEPTH_COMPONENT,
#[cfg(target_arch = "wasm32")]
TextureFormat::Alpha => miniquad::gl::GL_ALPHA,
#[cfg(not(target_arch = "wasm32"))]
Expand Down
2 changes: 1 addition & 1 deletion tiled/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "macroquad-tiled"
version = "0.2.0"
version = "0.2.1"
authors = ["Fedor Logachev <[email protected]>"]
edition = "2018"
license = "MIT/Apache-2.0"
Expand Down

0 comments on commit b820d0f

Please sign in to comment.