remove use of std::to_string in favor of boost::lexical_cast

std::to_string calls sprintf() internally, which is really slow
This commit is contained in:
Konstantin Käfer
2014-12-04 12:59:09 +01:00
parent 65451187f5
commit b449b22abc
11 changed files with 45 additions and 29 deletions

View File

@@ -1,8 +1,6 @@
#include <mbgl/platform/default/glfw_view.hpp>
#include <mbgl/platform/gl.hpp>
#include <mbgl/util/string.hpp>
GLFWView::GLFWView(bool fullscreen_) : fullscreen(fullscreen_) {
#ifdef NVIDIA
glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)glfwGetProcAddress("glDiscardFramebufferEXT");