Added an error message on video context if gl support isn't available.

Originally committed to SVN as r1264.
This commit is contained in:
Rodrigo Braz Monteiro 2007-06-19 07:03:33 +00:00
parent 4f4d67d7f7
commit 2a55d6a01e
1 changed files with 3 additions and 0 deletions

View File

@ -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>