From df50af52e867c7142f6824c277ab0d31ec6b334b Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 23 Nov 2011 18:33:02 +0000 Subject: [PATCH] Remove OpenGL headers from video_context as it doesn't touch OpenGL anymore Originally committed to SVN as r5905. --- aegisub/src/video_context.cpp | 8 -------- aegisub/src/video_context.h | 5 ----- aegisub/src/visual_tool.cpp | 1 - 3 files changed, 14 deletions(-) diff --git a/aegisub/src/video_context.cpp b/aegisub/src/video_context.cpp index 993a56763..33e9d8e9f 100644 --- a/aegisub/src/video_context.cpp +++ b/aegisub/src/video_context.cpp @@ -46,14 +46,6 @@ #include #endif -#ifdef __APPLE__ -#include -#include -#else -#include -#include -#endif - #include #include diff --git a/aegisub/src/video_context.h b/aegisub/src/video_context.h index 2a0ca0477..414b2c1d8 100644 --- a/aegisub/src/video_context.h +++ b/aegisub/src/video_context.h @@ -40,15 +40,10 @@ #include #include -#include #include #include #endif -#if ! wxUSE_GLCANVAS -#error "Aegisub requires wxWidgets to be compiled with OpenGL support." -#endif - #include #include diff --git a/aegisub/src/visual_tool.cpp b/aegisub/src/visual_tool.cpp index a037dc1e7..918ef9b0c 100644 --- a/aegisub/src/visual_tool.cpp +++ b/aegisub/src/visual_tool.cpp @@ -24,7 +24,6 @@ #ifndef AGI_PRE #include -#include #endif #include "visual_tool.h"