… | |
… | |
126 | //glUnlockArraysEXT (); |
126 | //glUnlockArraysEXT (); |
127 | } |
127 | } |
128 | else |
128 | else |
129 | { |
129 | { |
130 | // optimised character quad storage. slower but nice on memory. |
130 | // optimised character quad storage. slower but nice on memory. |
131 | // reduces storage requirements from 80 bytes/char to 6-8 |
131 | // reduces storage requirements from 80 bytes/char to 8 |
132 | auto *c = (glyph_data *) arr.data (); |
132 | auto *c = (glyph_data *) arr.data (); |
133 | auto *e = (glyph_data *)(arr.data () + arr.size ()); |
133 | auto *e = (glyph_data *)(arr.data () + arr.size ()); |
134 | |
134 | |
135 | glBegin (key.mode); // practically must be quads |
135 | glBegin (key.mode); // practically must be quads |
136 | |
136 | |