Fixed bug 1344 - No OpenGL headers when compiling -> no working Software renderer at runtime neither
Make sure we have at least one render driver.
This commit is contained in:
parent
842e2046ae
commit
3b5d79f407
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ 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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue