X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Froot.cpp;h=e7c0a9251eadebfe8863e3549e4571737c0b24aa;hb=fdc7fecc65f5f517d66abe3546a949a46836c4a6;hp=bce6adf8f7a9799fd9811696969737cc6ddc178f;hpb=1aa6cd9b865e366737dcc9d2d36c4f8faed5bc4f;p=libs%2Fgltk.git diff --git a/source/root.cpp b/source/root.cpp index bce6adf..e7c0a92 100644 --- a/source/root.cpp +++ b/source/root.cpp @@ -81,7 +81,8 @@ void Root::render() const GL::MatrixStack::modelview() = GL::Matrix(); GL::Bind bind_blend(GL::Blend::alpha()); - Widget::render(); + GL::Renderer renderer(0); + Widget::render(renderer); } void Root::button_press_event(unsigned btn)