Skip to content

Commit 1b8bb75

Browse files
authored
typo
1 parent 7d4a3ae commit 1b8bb75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book_src/loading_opengl/win32.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ pub unsafe fn do_wglChoosePixelFormatARB(
14551455
let f_ptr = match float_attrs.last() {
14561456
Some([k, _v]) => {
14571457
if *k == 0.0 {
1458-
int_attrs.as_ptr()
1458+
float_attrs.as_ptr()
14591459
} else {
14601460
return Err(app_err);
14611461
}

0 commit comments

Comments
 (0)