src/render/SDL_render.c
changeset 6163 aa4d1d639f2e
parent 6138 4c64952a58fb
child 6174 5f221b7a5952
--- a/src/render/SDL_render.c	Sat Jan 07 01:03:54 2012 -0500
+++ b/src/render/SDL_render.c	Sat Jan 07 01:13:15 2012 -0500
@@ -67,6 +67,9 @@
     &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;