gpu-dawn: update gzip decompression to use latest stdlib API (#696)
This commit is contained in:
parent
2532436170
commit
18ab6c12c1
1 changed files with 1 additions and 1 deletions
|
|
@ -457,7 +457,7 @@ pub fn Sdk(comptime deps: anytype) type {
|
|||
defer file.close();
|
||||
|
||||
var buf_stream = std.io.bufferedReader(file.reader());
|
||||
var gzip_stream = try std.compress.gzip.gzipStream(allocator, buf_stream.reader());
|
||||
var gzip_stream = try std.compress.gzip.decompress(allocator, buf_stream.reader());
|
||||
defer gzip_stream.deinit();
|
||||
|
||||
// Read and decompress the whole file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue