mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed warning: conversion to 'uint32_t' from 'float' may alter its value
This commit is contained in:
parent
5907bf2555
commit
0f8d062e10
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ static bool RPI_ShowCursor(SDL_Cursor *cursor)
|
|||
|
||||
if (curdata->element == DISPMANX_NO_HANDLE) {
|
||||
vc_dispmanx_rect_set(&src_rect, 0, 0, curdata->w << 16, curdata->h << 16);
|
||||
vc_dispmanx_rect_set(&dst_rect, mouse->x - curdata->hot_x, mouse->y - curdata->hot_y, curdata->w, curdata->h);
|
||||
vc_dispmanx_rect_set(&dst_rect, (int)mouse->x - curdata->hot_x, (int)mouse->y - curdata->hot_y, curdata->w, curdata->h);
|
||||
|
||||
update = vc_dispmanx_update_start(0);
|
||||
SDL_assert(update);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue