X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fflexui%2Ffui_ctls.pas;h=2605e44471d3c78d344c7250e0a2cbfb3e58c11e;hb=a3ef23c31742fba53271c9a5a4dfe6ea26ea5d68;hp=12f710c21bbc3aae1845bc6b1c68bc8d8e5fd79e;hpb=987c4a835a103345b59937e8e1be8524a6228712;p=d2df-sdl.git diff --git a/src/flexui/fui_ctls.pas b/src/flexui/fui_ctls.pas index 12f710c..2605e44 100644 --- a/src/flexui/fui_ctls.pas +++ b/src/flexui/fui_ctls.pas @@ -21,10 +21,9 @@ interface uses SysUtils, Classes, - SDL2, sdlcarcass, fui_common, fui_events, fui_style, - fui_gfx_gl, + fui_gfx, xparser; @@ -601,7 +600,7 @@ end; procedure uiInitialize (); begin if (uiContext <> nil) then raise Exception.Create('FlexUI already initialized'); - uiContext := TGxContext.Create(); + uiContext := gxCreateContext(); end;