Commit 3b5d79f4 authored by Sam Lantinga's avatar Sam Lantinga

Fixed bug 1344 - No OpenGL headers when compiling -> no working Software...

Fixed bug 1344 - No OpenGL headers when compiling -> no working Software renderer at runtime neither

Make sure we have at least one render driver.
parent 842e2046
...@@ -67,6 +67,9 @@ static const SDL_RenderDriver *render_drivers[] = { ...@@ -67,6 +67,9 @@ static const SDL_RenderDriver *render_drivers[] = {
&SW_RenderDriver &SW_RenderDriver
#endif /* !SDL_RENDER_DISABLED */ #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 renderer_magic;
static char texture_magic; static char texture_magic;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment