Browse Source

Merge pull request #685 from catminou4/devin/constant-color-cfg-windows

Shaders: gate the constant_color test helper to Windows
Marvis 2 ngày trước cách đây
mục cha
commit
02f404efec
1 tập tin đã thay đổi với 1 bổ sung và 0 xóa
  1. 1 0
      crates/victory-shader/src/emit/mod.rs

+ 1 - 0
crates/victory-shader/src/emit/mod.rs

@@ -516,6 +516,7 @@ mod tests {
     }
 
     /// A pixel shader writing a constant colour.
+    #[cfg(windows)]
     fn constant_color() -> Vec<u8> {
         let mut s = Shader::new(true);
         s.outputs.push(SigElement {