summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-03-24 17:39:37 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-03-24 17:39:37 +0100
commitb4a67a959c8aecab6533880a7eb453309b927b5f (patch)
tree4574e27ce64e910c05d34f237238291753fefa9f /src
parent9621038d8aede253d32c097f4daa248c10e476cd (diff)
downloadqtlocation-mapboxgl-b4a67a959c8aecab6533880a7eb453309b927b5f.tar.gz
remove commented out js code
Diffstat (limited to 'src')
-rw-r--r--src/renderer/painter.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/renderer/painter.cpp b/src/renderer/painter.cpp
index 344d2eb0b4..95017465c3 100644
--- a/src/renderer/painter.cpp
+++ b/src/renderer/painter.cpp
@@ -509,20 +509,6 @@ void Painter::renderText(TextBucket& bucket, const std::string& layer_name, cons
glyphAtlas.bind();
textShader->setTextureSize({{ static_cast<float>(glyphAtlas.width), static_cast<float>(glyphAtlas.height) }});
- // bucket.geometry.glyphVertex.bind(gl);
-
- // var ubyte = gl.UNSIGNED_BYTE;
-
- // gl.vertexAttribPointer(shader.a_pos, 2, gl.SHORT, false, 16, 0);
- // gl.vertexAttribPointer(shader.a_offset, 2, gl.SHORT, false, 16, 4);
- // gl.vertexAttribPointer(shader.a_tex, 2, ubyte, false, 16, 8);
- // gl.vertexAttribPointer(shader.a_labelminzoom, 1, ubyte, false, 16, 10);
- // gl.vertexAttribPointer(shader.a_minzoom, 1, ubyte, false, 16, 11);
- // gl.vertexAttribPointer(shader.a_maxzoom, 1, ubyte, false, 16, 12);
- // gl.vertexAttribPointer(shader.a_angle, 1, ubyte, false, 16, 13);
- // gl.vertexAttribPointer(shader.a_rangeend, 1, ubyte, false, 16, 14);
- // gl.vertexAttribPointer(shader.a_rangestart, 1, ubyte, false, 16, 15);
-
textShader->setGamma(2.5f / fontSize / transform.pixelRatio);
// Convert the -pi..pi to an int8 range.