win-capture: Fix cursor hotspot bug
Did I just.. forget to have it save the cursor hotspot? You have to have the cursor hotspot to draw it correctly.master
parent
6a85407270
commit
6d5aecbb70
|
@ -154,6 +154,9 @@ static inline bool cursor_capture_icon(struct cursor_data *data, HICON icon)
|
|||
data->texture = gs_texture_create(width, height, GS_BGRA,
|
||||
1, &bitmap, 0);
|
||||
bfree(bitmap);
|
||||
|
||||
data->x_hotspot = ii.xHotspot;
|
||||
data->y_hotspot = ii.yHotspot;
|
||||
}
|
||||
|
||||
DeleteObject(ii.hbmColor);
|
||||
|
|
Loading…
Reference in New Issue