Przeglądaj źródła

buffer_cache: Try to fix MinGW build

ReinUsesLisp 7 lat temu
rodzic
commit
83050c9495
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/video_core/buffer_cache.h

+ 1 - 1
src/video_core/buffer_cache.h

@@ -250,7 +250,7 @@ private:
         if (auto entry = TryGetReservedBuffer(host_ptr)) {
             return entry;
         }
-        return std::make_shared<Buffer::element_type>(cpu_addr, host_ptr);
+        return std::make_shared<CachedBuffer<BufferStorageType>>(cpu_addr, host_ptr);
     }
 
     Buffer TryGetReservedBuffer(u8* host_ptr) {