]> git.tdb.fi Git - libs/gl.git/commit
Move WindowView::render to the backend
authorMikko Rasa <tdb@tdb.fi>
Wed, 10 Nov 2021 14:16:18 +0000 (16:16 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 10 Nov 2021 17:56:43 +0000 (19:56 +0200)
commit9e63512930bc7dace6dc169c65161961e5dcfcf6
tree432b3fb79c00d0498b3e2216dd8ad6a9ed4c7ba8
parent66e4a4d23d114e49743af89e06dee8bdc6f1fbde
Move WindowView::render to the backend

Presenting images work very differently in Vulkan so the swap_buffers
call can't be in the common part.
source/backends/opengl/windowview_backend.cpp
source/backends/opengl/windowview_backend.h
source/render/windowview.cpp
source/render/windowview.h