win-capture: Fix incorrect parameter type warning
Was using const char** when the parameter expects const uint8_t**
This commit is contained in:
parent
6b38fa35b0
commit
aa3bdd9845
@ -151,7 +151,7 @@ static inline bool cursor_capture_icon(struct cursor_data *data, HICON icon)
|
||||
bitmap = cursor_capture_icon_bitmap(&ii, &width, &height);
|
||||
if (bitmap) {
|
||||
data->texture = gs_texture_create(width, height, GS_BGRA,
|
||||
1, &bitmap, 0);
|
||||
1, (const uint8_t**)&bitmap, 0);
|
||||
bfree(bitmap);
|
||||
|
||||
data->x_hotspot = ii.xHotspot;
|
||||
|
Loading…
x
Reference in New Issue
Block a user