mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Fixed some type conversion warnings in VC. Mostly float <-> int and bool <-> int.
This commit is contained in:
@@ -99,7 +99,7 @@ namespace sdl
|
||||
case SDL_ACTIVEEVENT:
|
||||
if (e.active.state & SDL_APPINPUTFOCUS) {
|
||||
m.type = Event::TYPE_FOCUS;
|
||||
m.focus.f = e.active.gain;
|
||||
m.focus.f = (e.active.gain != 0);
|
||||
return true;
|
||||
} else break;
|
||||
case SDL_QUIT:
|
||||
|
||||
Reference in New Issue
Block a user