mirror of
https://github.com/italicsjenga/rust_minifb.git
synced 2024-12-24 11:41:30 +11:00
Fixed broken build
This commit is contained in:
parent
5fd17a9bb5
commit
72021616e9
|
@ -326,8 +326,7 @@ void mfb_update(void* window_info, void* buffer)
|
||||||
|
|
||||||
void mfb_set_position(void* window, int x, int y)
|
void mfb_set_position(void* window, int x, int y)
|
||||||
{
|
{
|
||||||
WindowInfo* info = (WindowInfo*)window_info;
|
WindowInfo* info = (WindowInfo*)window;
|
||||||
|
|
||||||
XMoveWindow(s_display, info->window, x, y);
|
XMoveWindow(s_display, info->window, x, y);
|
||||||
XFlush(s_display);
|
XFlush(s_display);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue