From 8403dcf857c9cc639e8162edd5d4df4af07274bc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 26 Mar 2011 05:07:12 +0200 Subject: Precalculation vertexes for improving draw speed. Implemented in Software and fast OpenGL backends. Not all controls using this mode because some limitations. Known issue: impossible compile without opengl. Will be fixed in next commits. --- src/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.cpp') diff --git a/src/client.cpp b/src/client.cpp index 0179c0f51..8fa9a1c8c 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -28,6 +28,7 @@ #include "emoteshortcut.h" #include "event.h" #include "game.h" +#include "graphicsvertexes.h" #include "itemshortcut.h" #include "dropshortcut.h" #include "keyboardconfig.h" @@ -399,6 +400,7 @@ Client::Client(const Options &options): // Setup image loading for the right image format Image::setLoadAsOpenGL(useOpenGL); + GraphicsVertexes::setLoadAsOpenGL(useOpenGL); // Create the graphics context switch(useOpenGL) -- cgit v1.2.3-60-g2f50