summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-09-24 16:30:01 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2014-09-24 16:30:01 -0400
commit86b7367994c933c1b91d571d348ec57620c7d26c (patch)
tree31794cdd04e1dfc499dd8c5737705e6ed09339d6
parent47c6bb5bd49b1535208a7d20e2646c21ab9687ff (diff)
downloadqtlocation-mapboxgl-86b7367994c933c1b91d571d348ec57620c7d26c.tar.gz
Revert "add debugging"
This reverts commit 0cdaf58027b758650f4bb7ca7a006cb8568c080c.
-rw-r--r--common/headless_view.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp
index 94a6cd03bc..42d595310d 100644
--- a/common/headless_view.cpp
+++ b/common/headless_view.cpp
@@ -2,7 +2,6 @@
#include <mbgl/util/timer.hpp>
#include <stdexcept>
-#include <iostream>
namespace mbgl {
@@ -159,10 +158,6 @@ HeadlessView::~HeadlessView() {
#endif
#if MBGL_USE_GLX
- std::cerr << "~HeadlessView()" << '\n';
- std::cerr << "x_display: " << x_display << '\n';
- std::cerr << "glx_pixmap: " << glx_pixmap << '\n';
- std::cerr << "gl_context: " << gl_context << '\n';
glXMakeCurrent(x_display, None, NULL);
glXDestroyContext(x_display, gl_context);
XFree(x_info);
@@ -183,10 +178,6 @@ void HeadlessView::make_active() {
#endif
#if MBGL_USE_GLX
- std::cerr << "make_active()" << '\n';
- std::cerr << "x_display: " << x_display << '\n';
- std::cerr << "glx_pixmap: " << glx_pixmap << '\n';
- std::cerr << "gl_context: " << gl_context << '\n';
if (!glXMakeCurrent(x_display, glx_pixmap, gl_context)) {
fprintf(stderr, "Switching OpenGL context failed\n");
}