diff options
author | Andreas Hartmetz <ahartmetz@gmail.com> | 2013-07-12 11:51:45 +0200 |
---|---|---|
committer | Andreas Hartmetz <ahartmetz@gmail.com> | 2013-07-13 15:15:05 +0200 |
commit | 712cc1db47e56a1032dc72d4209ffc9054ec54e4 (patch) | |
tree | d6282af895fac9b903026c718bc13d4b97db7978 /helpers | |
parent | 207ced34a8b998539414c5213acc6d7a393ca27a (diff) |
Remove the last helper for the old incomplete attrib_list support.
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/glsize.hpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/helpers/glsize.hpp b/helpers/glsize.hpp index dbc753ac..7c1d0176 100644 --- a/helpers/glsize.hpp +++ b/helpers/glsize.hpp @@ -1470,25 +1470,4 @@ _glGetDebugMessageLog_length(const Char * string, const GLsizei *lengths, GLuint return size; } -/* - * (key, value) attribute list, terminated by the given terminator. - */ -template<class T> -static inline size_t -_AttribPairList_size(const T *pAttribList, const T terminator = static_cast<T>(0)) -{ - size_t size = 0; - - if (pAttribList) { - while (pAttribList[size] != terminator) { - size += 2; - } - // terminator also counts - ++size; - } - - return size; -} - - #endif /* _GL_SIZE_HPP_ */ |