From 712cc1db47e56a1032dc72d4209ffc9054ec54e4 Mon Sep 17 00:00:00 2001 From: Andreas Hartmetz Date: Fri, 12 Jul 2013 11:51:45 +0200 Subject: [PATCH] Remove the last helper for the old incomplete attrib_list support. --- helpers/glsize.hpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/helpers/glsize.hpp b/helpers/glsize.hpp index dbc753a..7c1d017 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 -static inline size_t -_AttribPairList_size(const T *pAttribList, const T terminator = static_cast(0)) -{ - size_t size = 0; - - if (pAttribList) { - while (pAttribList[size] != terminator) { - size += 2; - } - // terminator also counts - ++size; - } - - return size; -} - - #endif /* _GL_SIZE_HPP_ */ -- 2.43.0