summaryrefslogtreecommitdiff
path: root/src/wx/gl_util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-08-19 20:14:56 +0200
committerCarl Hetherington <cth@carlh.net>2025-08-25 08:44:48 +0200
commitc1e7425cc3cb55dd0c9ddb15d00b6c2eb2faef0f (patch)
tree9b491ab5fd0402187ba189255043ca972d164f5a /src/wx/gl_util.h
parent61c74126cde9592587d31b4acbc54dd6c76a44d3 (diff)
Cleanup: extract check_gl_error to gl_util.{cc,h}
Diffstat (limited to 'src/wx/gl_util.h')
-rw-r--r--src/wx/gl_util.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/wx/gl_util.h b/src/wx/gl_util.h
new file mode 100644
index 000000000..3f311e200
--- /dev/null
+++ b/src/wx/gl_util.h
@@ -0,0 +1,31 @@
+/*
+ Copyright (C) 2025 Carl Hetherington <cth@carlh.net>
+
+ This file is part of DCP-o-matic.
+
+ DCP-o-matic is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ DCP-o-matic is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>.
+
+*/
+
+
+namespace dcpomatic {
+namespace gl {
+
+
+extern void check_error(char const * last);
+
+
+}
+}
+