|
@@ -151,7 +151,7 @@ static inline bool cursor_capture_icon(struct cursor_data *data, HICON icon)
|
|
bitmap = cursor_capture_icon_bitmap(&ii, &width, &height);
|
|
bitmap = cursor_capture_icon_bitmap(&ii, &width, &height);
|
|
if (bitmap) {
|
|
if (bitmap) {
|
|
data->texture = gs_texture_create(width, height, GS_BGRA,
|
|
data->texture = gs_texture_create(width, height, GS_BGRA,
|
|
- 1, &bitmap, 0);
|
|
|
|
|
|
+ 1, (const uint8_t**)&bitmap, 0);
|
|
bfree(bitmap);
|
|
bfree(bitmap);
|
|
|
|
|
|
data->x_hotspot = ii.xHotspot;
|
|
data->x_hotspot = ii.xHotspot;
|