Skip to content

Commit

Permalink
Cleaning up some bits and pieces
Browse files Browse the repository at this point in the history
  • Loading branch information
mattkleiny committed Aug 11, 2024
1 parent 05c38a5 commit 00ac557
Show file tree
Hide file tree
Showing 40 changed files with 457 additions and 3,117 deletions.
2,193 changes: 271 additions & 1,922 deletions Cargo.lock

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@ scripting = { package = "surreal-scripting", path = "./core/scripting", optional
editor = { package = "surreal-editor", path = "./editor", optional = true }

# backends
sdl = { package = "surreal-backend-sdl", path = "./backends/sdl", optional = true }
wgpu = { package = "surreal-backend-wgpu", path = "./backends/wgpu", optional = true }
desktop = { package = "surreal-backend-desktop", path = "backends/desktop", optional = true }

[[example]]
name = "sprites"
required-features = ["sdl"]
required-features = ["desktop"]

[[example]]
name = "hello-world"
required-features = ["sdl"]
required-features = ["desktop"]

4 changes: 2 additions & 2 deletions backends/sdl/Cargo.toml → backends/desktop/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "surreal-backend-sdl"
description = "SDL backend for Surreal"
name = "surreal-backend-desktop"
description = "Desktop backend for Surreal"
authors.workspace = true
edition.workspace = true

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 0 additions & 22 deletions backends/sdl/examples/hello-sdl.rs

This file was deleted.

15 changes: 0 additions & 15 deletions backends/wgpu/Cargo.toml

This file was deleted.

30 changes: 0 additions & 30 deletions backends/wgpu/examples/hello-wgpu.rs

This file was deleted.

Loading

0 comments on commit 00ac557

Please sign in to comment.