Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug 1344 - No OpenGL headers when compiling -> no working Softw…
Browse files Browse the repository at this point in the history
…are renderer at runtime neither

Make sure we have at least one render driver.
  • Loading branch information
slouken committed Jan 7, 2012
1 parent 66c58e9 commit bb5b02d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/render/SDL_render.c
Expand Up @@ -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;

Expand Down

0 comments on commit bb5b02d

Please sign in to comment.