Fix expected string literal error in include_str! macro (#854)

This commit is contained in:
Artemy Fedotov
2025-10-08 13:00:50 +03:00
committed by GitHub
parent 271ebf899d
commit 42b0eead30
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ lazy_static! {
static ref GIZMO_SHADER: ShaderResource = {
ShaderResource::from_str(
Uuid::new_v4(),
include_str!("../resources/shaders/gizmo.shader",),
include_str!("../resources/shaders/gizmo.shader"),
Default::default(),
)
.unwrap()
+1 -1
View File
@@ -273,7 +273,7 @@ lazy_static! {
static ref GIZMO_SHADER: ShaderResource = {
ShaderResource::from_str(
Uuid::new_v4(),
include_str!("../../../resources/shaders/sprite_gizmo.shader",),
include_str!("../../../resources/shaders/sprite_gizmo.shader"),
Default::default(),
)
.unwrap()
+1 -1
View File
@@ -151,7 +151,7 @@ lazy_static! {
static ref GRID_SHADER: ShaderResource = {
ShaderResource::from_str(
Uuid::new_v4(),
include_str!("../../resources/shaders/grid.shader",),
include_str!("../../resources/shaders/grid.shader"),
Default::default(),
)
.unwrap()