Skip to content

Commit fd4b961

Browse files
committed
Closes #23
1 parent 841e423 commit fd4b961

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

book_src/loading_opengl/win32.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ pub struct PIXELFORMATDESCRIPTOR {
192192
```
193193

194194
However, since we want the type to *always* say it's size and version,
195-
we'll have a `Default` impl that just sets the size and version for us.
195+
we won't use our `unsafe_impl_default_zeroed!` that we had before.
196+
Instead, we'll have a `Default` impl that is *mostly* zeroed memory,
197+
and then also sets the size and version for us.
196198
```rust
197199
impl Default for PIXELFORMATDESCRIPTOR {
198200
#[inline]

0 commit comments

Comments
 (0)