X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=helpers%2Fglsize.hpp;h=dbc753ac80f6d16482198d7dd33af6038798109e;hb=10cd0a53f61390cf211a54b3aa838ab1807487e4;hp=5eac78e5d644da0813eb379c4968c185bbd6ac7b;hpb=d06fb348d5daabcb99f06f7b743f9b958c28bcf2;p=apitrace 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. */