|
|
commit 4b70bc32c50227c52db59f65bb0f449b47596d88
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Sun Oct 2 21:37:35 2022 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Sun Oct 2 21:37:35 2022 +0200
Add missing return value to Fl_WinAPI_Gl_Window_Driver::create_gl_context()
src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx
index bf5f791..50af220 100644
--- src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx
+++ 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) {
[ Direct Link to Message ] | |
|
| |