From: Andreas Hartmetz Date: Fri, 12 Jul 2013 09:07:41 +0000 (+0200) Subject: Remove the now unused _AttribList_size. X-Git-Url: https://git.cworth.org/git?p=apitrace;a=commitdiff_plain;h=10cd0a53f61390cf211a54b3aa838ab1807487e4 Remove the now unused _AttribList_size. _AttribPairList_size is still used for WGL's float-based attribs. --- diff --git a/helpers/glsize.hpp b/helpers/glsize.hpp index 5eac78e..dbc753a 100644 --- a/helpers/glsize.hpp +++ b/helpers/glsize.hpp @@ -1470,25 +1470,6 @@ _glGetDebugMessageLog_length(const Char * string, const GLsizei *lengths, GLuint return size; } -/* - * attribute list, terminated by the given terminator. - */ -template -static inline size_t -_AttribList_size(const T *pAttribList, const T terminator = static_cast(0)) -{ - size_t size = 0; - - if (pAttribList) { - do { - ++size; - } while (*pAttribList++ != terminator); - } - - return size; -} - - /* * (key, value) attribute list, terminated by the given terminator. */