File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ This project adheres to Semantic Versioning.
20
20
* ** Breaking:** Updated ` rodio ` to 0.20.
21
21
* ** Breaking:** Updated ` image ` to 0.25.
22
22
* Updated ` sdl2 ` to 0.37.
23
- * Updated ` glow ` to 0.15 .
23
+ * Updated ` glow ` to 0.16 .
24
24
* Updated ` hashbrown ` to 0.15.
25
25
26
26
## [ 0.8.0] - 2023-03-17
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ categories = ["game-engines"]
14
14
[dependencies ]
15
15
sdl2 = " 0.37.0"
16
16
rodio = { version = " 0.20.1" , optional = true , default-features = false }
17
- glow = " 0.15 .0"
17
+ glow = " 0.16 .0"
18
18
image = { version = " 0.25.0" , default-features = false }
19
19
vek = { version = " 0.17.0" , default-features = false }
20
20
hashbrown = " 0.15.1"
Original file line number Diff line number Diff line change @@ -676,7 +676,7 @@ impl GraphicsDevice {
676
676
0 ,
677
677
format. to_gl_format ( ) ,
678
678
format. to_gl_data_type ( ) ,
679
- None ,
679
+ PixelUnpackData :: Slice ( None ) ,
680
680
) ;
681
681
682
682
if let Some ( e) = self . get_error ( ) {
@@ -731,7 +731,7 @@ impl GraphicsDevice {
731
731
height,
732
732
texture. format . to_gl_format ( ) ,
733
733
texture. format . to_gl_data_type ( ) ,
734
- PixelUnpackData :: Slice ( data) ,
734
+ PixelUnpackData :: Slice ( Some ( data) ) ,
735
735
) ;
736
736
737
737
// Revert back to a sensible default.
@@ -755,7 +755,7 @@ impl GraphicsDevice {
755
755
0 ,
756
756
texture. format . to_gl_format ( ) ,
757
757
texture. format . to_gl_data_type ( ) ,
758
- PixelPackData :: Slice ( & mut buffer) ,
758
+ PixelPackData :: Slice ( Some ( & mut buffer) ) ,
759
759
) ;
760
760
}
761
761
You can’t perform that action at this time.
0 commit comments