Merge pull request #685 from catminou4/devin/constant-color-cfg-windows
Shaders: gate the constant_color test helper to Windows
This commit is contained in:
commit
39152fa979
1 file changed
+1
@@ -516,6 +516,7 @@ mod tests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// A pixel shader writing a constant colour.
|
/// A pixel shader writing a constant colour.
|
||||||
|
#[cfg(windows)]
|
||||||
fn constant_color() -> Vec<u8> {
|
fn constant_color() -> Vec<u8> {
|
||||||
let mut s = Shader::new(true);
|
let mut s = Shader::new(true);
|
||||||
s.outputs.push(SigElement {
|
s.outputs.push(SigElement {
|
||||||
|
|||||||
Reference in new issue
Block a user