summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-08 15:59:05 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-10-08 15:59:05 +0200
commitbf9435a2c48329cd30effc8ebb1d3ea1525167e6 (patch)
treec8e33e844d9ba0b1d587b28bde998936da8cf680
parent708194cb1a4760cf97459b1531acedf86fa2baa7 (diff)
downloadqtlocation-mapboxgl-bf9435a2c48329cd30effc8ebb1d3ea1525167e6.tar.gz
remove outdated comment
[skip ci]
-rw-r--r--src/text/glyph.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/text/glyph.cpp b/src/text/glyph.cpp
index 7dea7246d7..f02c710db2 100644
--- a/src/text/glyph.cpp
+++ b/src/text/glyph.cpp
@@ -3,9 +3,6 @@
namespace mbgl {
// Note: this only works for the BMP
-// Note: we could use a binary lookup table to get averaged constant time lookups, however,
-// most of our lookups are going to be within the first 3 ranges listed here, so this is
-// likely faster.
GlyphRange getGlyphRange(char32_t glyph) {
unsigned start = (glyph/256) * 256;
unsigned end = (start + 255);