Better error messaging when SDL can't create a window surface.

This commit is contained in:
Sam Lantinga 2012-01-07 14:21:22 -05:00
parent 0de29d8f1a
commit d0375e624c
2 changed files with 1 additions and 3 deletions

View file

@ -67,9 +67,6 @@ static const SDL_RenderDriver *render_drivers[] = {
&SW_RenderDriver
#endif /* !SDL_RENDER_DISABLED */
};
/* If this triggers you may need to install OpenGL development environment */
SDL_COMPILE_TIME_ASSERT(HAS_RENDER_DRIVERS, SDL_arraysize(render_drivers) > 0);
static char renderer_magic;
static char texture_magic;