summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-10-02 21:37:35 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-10-02 21:37:35 +0200
commit4b70bc32c50227c52db59f65bb0f449b47596d88 (patch)
treeb807e146e96255180c8f30e03b9bf4cf5908dfc6 /src
parent1fc23f85068008ba58961b9c9e6ecd67320f5500 (diff)
Add missing return value to Fl_WinAPI_Gl_Window_Driver::create_gl_context()
Diffstat (limited to 'src')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx
index bf5f791b3..50af2208f 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx
@@ -153,7 +153,7 @@ GLContext Fl_WinAPI_Gl_Window_Driver::do_create_gl_context(Fl_Window* window,
GLContext Fl_WinAPI_Gl_Window_Driver::create_gl_context(Fl_Window* window, const Fl_Gl_Choice* g)
{
- do_create_gl_context(window, g, 0);
+ return do_create_gl_context(window, g, 0);
}
void Fl_WinAPI_Gl_Window_Driver::set_gl_context(Fl_Window* w, GLContext context) {