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