_misc win
This commit is contained in:
@@ -1000,7 +1000,8 @@ float SDLWindow::GetOpacity() const
|
|||||||
|
|
||||||
void SDLWindow::SetOpacity(const float opacity)
|
void SDLWindow::SetOpacity(const float opacity)
|
||||||
{
|
{
|
||||||
SDL_SetWindowOpacity(_window, opacity);
|
if (!SDL_SetWindowOpacity(_window, opacity))
|
||||||
|
LOG(Warning, "SDL_SetWindowOpacity failed: {0}", String(SDL_GetError()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDLWindow::Focus()
|
void SDLWindow::Focus()
|
||||||
|
|||||||
Reference in New Issue
Block a user