mirror of https://github.com/odrling/Aegisub
Added an error message on video context if gl support isn't available.
Originally committed to SVN as r1264.
This commit is contained in:
parent
4f4d67d7f7
commit
2a55d6a01e
|
@ -42,6 +42,9 @@
|
|||
#include <time.h>
|
||||
#include <wx/wxprec.h>
|
||||
#include <wx/glcanvas.h>
|
||||
#ifndef wxUSE_GLCANVAS
|
||||
#error "Aegisub requires wxWidgets to be compiled with OpenGL support."
|
||||
#endif
|
||||
#include <list>
|
||||
#ifdef HAVE_APPLE_OPENGL_FRAMEWORK
|
||||
#include <OpenGL/GL.h>
|
||||
|
|
Loading…
Reference in New Issue