소스 검색

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

GPU: rename the second test module in host.rs so the tests compile
Marvis 3 일 전
부모
커밋
d2a4bae1f4
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  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;