]> git.cworth.org Git - apitrace/commitdiff
Remove the last helper for the old incomplete attrib_list support.
authorAndreas Hartmetz <ahartmetz@gmail.com>
Fri, 12 Jul 2013 09:51:45 +0000 (11:51 +0200)
committerAndreas Hartmetz <ahartmetz@gmail.com>
Sat, 13 Jul 2013 13:15:05 +0000 (15:15 +0200)
helpers/glsize.hpp

index dbc753ac80f6d16482198d7dd33af6038798109e..7c1d0176f4953583ae633fed3df621228d441406 100644 (file)
@@ -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_ */