mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Fixed clang warning.
This commit is contained in:
parent
24c894ea90
commit
dfd17b1d79
1 changed files with 2 additions and 2 deletions
|
@ -244,8 +244,8 @@ namespace entry
|
|||
const SDL_UserEvent uev = event.user;
|
||||
if (SDL_USER_SET_WINDOW_SIZE == event.type)
|
||||
{
|
||||
uint32_t width = (uint32_t)uev.data1;
|
||||
uint32_t height = (uint32_t)uev.data2;
|
||||
uint32_t width = *(uint32_t*)&uev.data1;
|
||||
uint32_t height = *(uint32_t*)&uev.data2;
|
||||
setWindowSize(width, height);
|
||||
}
|
||||
else if (SDL_USER_TOGGLE_WINDOW_FRAME == event.type)
|
||||
|
|
Loading…
Reference in a new issue