X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fegl_android%2Fglcontext.cpp;h=7853b217a36df35e76862f5511836786133b0038;hb=207eec91afc6b538753ddc44905ac9ddbc907ac0;hp=ecf9a63f29342515c6ec1be24a03e6f5bd995dd7;hpb=a0584001d28ae224e0065c3c11b09d7965e78963;p=libs%2Fgui.git diff --git a/source/graphics/egl_android/glcontext.cpp b/source/graphics/egl_android/glcontext.cpp index ecf9a63..7853b21 100644 --- a/source/graphics/egl_android/glcontext.cpp +++ b/source/graphics/egl_android/glcontext.cpp @@ -109,16 +109,19 @@ GLContext::~GLContext() delete priv; } -void GLContext::swap_buffers() +void GLContext::set_swap_interval(unsigned) { - eglSwapBuffers(priv->display, priv->surface); + // TODO } -void GLContext::window_resized(unsigned w, unsigned h) +void GLContext::swap_buffers() { - glViewport(0, 0, w, h); + eglSwapBuffers(priv->display, priv->surface); } +void GLContext::window_resized(unsigned, unsigned) +{ } + void GLContext::Private::attach(WindowHandle native_window) {