fix incorrect memset size in shutdown for glfw demo
This commit is contained in:
parent
1407308b88
commit
c1e7be31bd
@ -492,7 +492,7 @@ void nk_glfw3_shutdown(struct nk_glfw* glfw)
|
||||
nk_font_atlas_clear(&glfw->atlas);
|
||||
nk_free(&glfw->ctx);
|
||||
nk_glfw3_device_destroy(glfw);
|
||||
memset(glfw, 0, sizeof(glfw));
|
||||
memset(glfw, 0, sizeof(*glfw));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user