Parcourir la source

Merge pull request #129 from Luislariosss/fix/duplicate-test-module

GPU: rename the second test module in host.rs so the tests compile
Marvis il y a 3 jours
Parent
commit
d2a4bae1f4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      crates/victory-gpu/src/host.rs

+ 1 - 1
crates/victory-gpu/src/host.rs

@@ -1971,7 +1971,7 @@ fn pump() {
 }
 
 #[cfg(test)]
-mod tests {
+mod batch {   // Batch::texture_due lives here; `mod tests` is already taken at the top of this file
     use super::Batch;
     use std::sync::Arc;