From b549cfaaea11ce5e881e2151a838c91a031ad9ba Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 13 Mar 2022 08:56:23 +0100 Subject: Separate platform init functions from platform-specific driver files --- src/drivers/WinAPI/fl_WinAPI_gl_platform_init.cxx | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/drivers/WinAPI/fl_WinAPI_gl_platform_init.cxx (limited to 'src/drivers/WinAPI/fl_WinAPI_gl_platform_init.cxx') diff --git a/src/drivers/WinAPI/fl_WinAPI_gl_platform_init.cxx b/src/drivers/WinAPI/fl_WinAPI_gl_platform_init.cxx new file mode 100644 index 000000000..f5b26be64 --- /dev/null +++ b/src/drivers/WinAPI/fl_WinAPI_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_WinAPI_Gl_Window_Driver.H" + + +Fl_Gl_Window_Driver *Fl_Gl_Window_Driver::newGlWindowDriver(Fl_Gl_Window *w) +{ + return new Fl_WinAPI_Gl_Window_Driver(w); +} -- cgit v1.2.3