From be74509b31b26e714c6b380e17ed3935ec0b6cf0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Jun 2014 23:23:00 +0300 Subject: In modernopengl add support for buffered draw tile collection. This is first cached function implemented in modernopengl. Also add support for bind buffer attributes. Add finalize method to convert any cached data into data for GPU. --- src/gui/windows/equipmentwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/windows') diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index 22d7a8567..7ec505160 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -196,6 +196,7 @@ void EquipmentWindow::draw(Graphics *graphics) } i ++; } + graphics->finalize(mVertexes); } graphics->drawTileCollection(mVertexes); } -- cgit v1.2.3-70-g09d2