mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-23 19:31:30 +11:00
suppress clang warning
This commit is contained in:
parent
ea3bb96835
commit
1f10d26998
|
@ -423,6 +423,8 @@ void mfb_set_title(void* window, const char* title)
|
||||||
[win setTitle: ns_title];
|
[win setTitle: ns_title];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||||
void mfb_set_cursor_visibility(void *window, bool visibility)
|
void mfb_set_cursor_visibility(void *window, bool visibility)
|
||||||
{
|
{
|
||||||
if (visibility){
|
if (visibility){
|
||||||
|
@ -432,6 +434,7 @@ void mfb_set_cursor_visibility(void *window, bool visibility)
|
||||||
[NSCursor hide];
|
[NSCursor hide];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue