summaryrefslogtreecommitdiff
path: root/src/drivers/Cocoa/fl_macOS_gl_platform_init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/Cocoa/fl_macOS_gl_platform_init.cxx')
-rw-r--r--src/drivers/Cocoa/fl_macOS_gl_platform_init.cxx24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/drivers/Cocoa/fl_macOS_gl_platform_init.cxx b/src/drivers/Cocoa/fl_macOS_gl_platform_init.cxx
new file mode 100644
index 000000000..421c665d2
--- /dev/null
+++ b/src/drivers/Cocoa/fl_macOS_gl_platform_init.cxx
@@ -0,0 +1,24 @@
+//
+// Wayland-specific code to initialize wayland support.
+//
+// Copyright 2022 by Bill Spitzak and others.
+//
+// This library is free software. Distribution and use rights are outlined in
+// the file "COPYING" which should have been included with this file. If this
+// file is missing or damaged, see the license at:
+//
+// https://www.fltk.org/COPYING.php
+//
+// Please see the following page on how to report bugs and issues:
+//
+// https://www.fltk.org/bugs.php
+//
+
+
+#include "Fl_Cocoa_Gl_Window_Driver.H"
+
+
+Fl_Gl_Window_Driver *Fl_Gl_Window_Driver::newGlWindowDriver(Fl_Gl_Window *w)
+{
+ return new Fl_Cocoa_Gl_Window_Driver(w);
+}