]> git.cworth.org Git - apitrace/commitdiff
Remove the now unused _AttribList_size.
authorAndreas Hartmetz <ahartmetz@gmail.com>
Fri, 12 Jul 2013 09:07:41 +0000 (11:07 +0200)
committerAndreas Hartmetz <ahartmetz@gmail.com>
Sat, 13 Jul 2013 13:15:05 +0000 (15:15 +0200)
_AttribPairList_size is still used for WGL's float-based attribs.

helpers/glsize.hpp

index 5eac78e5d644da0813eb379c4968c185bbd6ac7b..dbc753ac80f6d16482198d7dd33af6038798109e 100644 (file)
@@ -1470,25 +1470,6 @@ _glGetDebugMessageLog_length(const Char * string, const GLsizei *lengths, GLuint
     return size;
 }
 
-/* 
- * attribute list, terminated by the given terminator.
- */
-template<class T>
-static inline size_t
-_AttribList_size(const T *pAttribList, const T terminator = static_cast<T>(0))
-{
-    size_t size = 0;
-
-    if (pAttribList) {
-        do {
-            ++size;
-        } while (*pAttribList++ != terminator);
-    }
-
-    return size;
-}
-
-
 /*
  * (key, value) attribute list, terminated by the given terminator.
  */