]> git.cworth.org Git - apitrace/blobdiff - stdapi.py
Merge branch 'master' into multi-context
[apitrace] / stdapi.py
index 1dfe20036978351aea15221d3b5a27f419fddbe2..8a2756641663c265e7290432c21cec4409ecdf00 100644 (file)
--- a/stdapi.py
+++ b/stdapi.py
@@ -126,12 +126,8 @@ def ConstPointer(type):
 
 class Enum(Type):
 
-    __vid = 0
-
     def __init__(self, name, values):
         Type.__init__(self, name)
-        self.vid = Enum.__vid
-        Enum.__vid += len(values)
         self.values = list(values)
     
     def visit(self, visitor, *args, **kwargs):