Skip to content

Commit cc5d97c

Browse files
committed
into_format
1 parent 048b809 commit cc5d97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sdl3/pixels.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ fn pixel_format_enum_supports_alpha() {
131131
// Test retrieving pixel format details for a known format
132132
#[test]
133133
fn pixel_format_details_basic() {
134-
let fmt = PixelFormatEnum::RGB24.as_pixel_format();
134+
let fmt = PixelFormatEnum::RGB24.into_format();
135135
let det = fmt.details();
136136
// format should round-trip
137137
assert_eq!(det.format, fmt);

0 commit comments

Comments
 (0)