From 2a55d6a01ee2bb32d717c1341b9597e534803e45 Mon Sep 17 00:00:00 2001 From: Rodrigo Braz Monteiro Date: Tue, 19 Jun 2007 07:03:33 +0000 Subject: [PATCH] Added an error message on video context if gl support isn't available. Originally committed to SVN as r1264. --- aegisub/video_context.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aegisub/video_context.h b/aegisub/video_context.h index 18ac3561d..789efc482 100644 --- a/aegisub/video_context.h +++ b/aegisub/video_context.h @@ -42,6 +42,9 @@ #include #include #include +#ifndef wxUSE_GLCANVAS +#error "Aegisub requires wxWidgets to be compiled with OpenGL support." +#endif #include #ifdef HAVE_APPLE_OPENGL_FRAMEWORK #include