diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-13 21:16:17 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-13 21:16:17 +0100 |
| commit | f3e21ddad24bba301a9749b43645581dee2555fb (patch) | |
| tree | 33c160da2fe5ea5f2735501e3ac45096321c1ea7 /src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx | |
| parent | dd6b9b90ee57c8020f308435a213a0d6c6c72501 (diff) | |
Fix for "Rename Fl_X* Fl_Window::i private class member" (#223)
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx')
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx index e941fa5a9..8d84ab15a 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Gl_Window_Driver.cxx @@ -137,7 +137,7 @@ Fl_Gl_Choice *Fl_WinAPI_Gl_Window_Driver::find(int m, const int *alistp) GLContext Fl_WinAPI_Gl_Window_Driver::do_create_gl_context(Fl_Window* window, const Fl_Gl_Choice* g, int layer) { - Fl_X* i = Fl_X::i(window); + Fl_X* i = Fl_X::flx(window); HDC hdc = Fl_WinAPI_Window_Driver::driver(window)->private_dc; if (!hdc) { hdc = Fl_WinAPI_Window_Driver::driver(window)->private_dc = GetDCEx((HWND)i->xid, 0, DCX_CACHE); @@ -186,7 +186,7 @@ void Fl_WinAPI_Gl_Window_Driver::make_overlay_current() { if (overlay() != this) { set_gl_context(pWindow, (GLContext)overlay()); // if (fl_overlay_depth) - // wglRealizeLayerPalette(Fl_X::i(this)->private_dc, 1, TRUE); + // wglRealizeLayerPalette(Fl_X::flx(this)->private_dc, 1, TRUE); } else #endif glDrawBuffer(GL_FRONT); |
