mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Explicitly mention SDL in the error message caused by SDL subsystem initialization failure.
This commit is contained in:
@@ -55,7 +55,7 @@ Window::Window()
|
||||
, displayedContextError(false)
|
||||
{
|
||||
if (SDL_InitSubSystem(SDL_INIT_VIDEO) < 0)
|
||||
throw love::Exception("%s", SDL_GetError());
|
||||
throw love::Exception("Could not initialize SDL video subsystem (%s)", SDL_GetError());
|
||||
}
|
||||
|
||||
Window::~Window()
|
||||
|
||||
Reference in New Issue
Block a user