Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed bug 1344 - No OpenGL headers when compiling -> no working Softw…

…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 bb5b02d61057b2bcc2c029940fd7811f3a43ee91
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/render/SDL_render.c
@@ -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;

0 comments on commit bb5b02d

Please sign in to comment.