Fix noncontiguous extension numbering

At some point the GL non-ARB extension numbering became discontiguous,
probably due to a typo 532 -> 592 in registry.php. This shifts the
extension numbers to remain contiguous. Since the extension numbers
aren't used for anything except imposing an ordering on the list in the
registry index, this should be harmless.
diff --git a/extensions/EXT/EXT_texture_sRGB_R8.txt b/extensions/EXT/EXT_texture_sRGB_R8.txt
index 50f886e..00e4707 100644
--- a/extensions/EXT/EXT_texture_sRGB_R8.txt
+++ b/extensions/EXT/EXT_texture_sRGB_R8.txt
@@ -31,7 +31,7 @@
 Number
 
     OpenGL ES Extension #221
-    OpenGL Extension #594
+    OpenGL Extension #534
 
 Dependencies
 
diff --git a/extensions/EXT/GLX_EXT_context_priority.txt b/extensions/EXT/GLX_EXT_context_priority.txt
index be43af0..081a411 100644
--- a/extensions/EXT/GLX_EXT_context_priority.txt
+++ b/extensions/EXT/GLX_EXT_context_priority.txt
@@ -29,7 +29,7 @@
 
 Number
 
-    595
+    OpenGL Extension #535
 
 Dependencies
 
diff --git a/extensions/NV/NV_vdpau_interop2.txt b/extensions/NV/NV_vdpau_interop2.txt
index 6d2106e..1779a58 100644
--- a/extensions/NV/NV_vdpau_interop2.txt
+++ b/extensions/NV/NV_vdpau_interop2.txt
@@ -25,7 +25,7 @@
 
 Number
 
-    OpenGL Extension #593
+    OpenGL Extension #533
 
 Dependencies
 
@@ -47,7 +47,7 @@
 
 IP Status
 
-    There are no known IP issues. 
+    There are no known IP issues.
 
 New Types
 
@@ -68,13 +68,13 @@
 
 Additions to Chapter 8 of the OpenGL 4.6 (unabridged) Specification
 (Textures and Samplers)
-    
-    Replace the paragraph that begins with 'The command 
+
+    Replace the paragraph that begins with 'The command
     vdpauSurfaceNV VDPAURegisterVideoSurfaceNV' and the following two paragraphs,
     including table 3.8.3.1, with the following:
 
     The commands
-    
+
         vdpauSurfaceNV VDPAURegisterVideoSurfaceNV (const void *vdpSurface,
                                                     enum       target,
                                                     sizei      numTextureNames,
@@ -92,9 +92,9 @@
     determines how many textures are defined. <textureNames> contains
     the names of the textures that are defined. The surface is
     transitioned into the registered state.
-    
-    VDPAURegisterVideoSurfaceNV is equivalent to calling 
-    VDPAURegisterVideoSurfaceWithPictureStructureNV with <isFrameStructure> 
+
+    VDPAURegisterVideoSurfaceNV is equivalent to calling
+    VDPAURegisterVideoSurfaceWithPictureStructureNV with <isFrameStructure>
     set to FALSE.
 
     Legal values for <numTextureNames>,<isFrameStructure> are derived from the
@@ -141,10 +141,10 @@
                                                                         1      w   x h    R8G8      Chroma
 
       Table 8.7.1: Supported VdpChromaType values, and derived values
-      of <numTextureNames>,<isFrameStructure> and texture parameters for 
+      of <numTextureNames>,<isFrameStructure> and texture parameters for
       each texture.
 
-    VDPAURegisterVideoSurfaceWithPictureStructureNV's return value is a handle 
+    VDPAURegisterVideoSurfaceWithPictureStructureNV's return value is a handle
     used by various other commands detailed in NV_vdpau_interop.
 
 
@@ -174,12 +174,12 @@
 
 Errors
 
-    INVALID_OPERATION is generated by 
+    INVALID_OPERATION is generated by
     VDPAURegisterVideoSurfaceWithPictureStructureNV if the VDPAU driver
     refuses the request for some reason.
 
     INVALID_OPERATION is generated if any texture named by an entry
-    within the <textureNames> parameter of 
+    within the <textureNames> parameter of
     VDPAURegisterVideoSurfaceWithPictureStructureNV is marked as immutable.
 
     INVALID_VALUE is generated if the VDPAU surface named by the
diff --git a/extensions/registry.py b/extensions/registry.py
index b452577..a058a71 100644
--- a/extensions/registry.py
+++ b/extensions/registry.py
@@ -1457,7 +1457,7 @@
         'url' : 'extensions/ATI/ATI_pn_triangles.txt',
     },
     'WGL_ATI_render_texture_rectangle' : {
-        'number' : 592,
+        'number' : 532,
         'flags' : { 'public' },
         'supporters' : { 'ATI' },
         'url' : 'extensions/ATI/WGL_ATI_render_texture_rectangle.txt',
@@ -1660,7 +1660,7 @@
         'url' : 'extensions/EXT/EXT_conservative_depth.txt',
     },
     'GLX_EXT_context_priority' : {
-        'number' : 595,
+        'number' : 535,
         'flags' : { 'public' },
         'url' : 'extensions/EXT/GLX_EXT_context_priority.txt',
     },
@@ -2512,7 +2512,7 @@
         'url' : 'extensions/EXT/EXT_texture_sRGB.txt',
     },
     'GL_EXT_texture_sRGB_R8' : {
-        'number' : 594,
+        'number' : 534,
         'esnumber' : 221,
         'flags' : { 'public' },
         'url' : 'extensions/EXT/EXT_texture_sRGB_R8.txt',
@@ -3866,7 +3866,7 @@
         'url' : 'extensions/NV/NV_vdpau_interop.txt',
     },
     'GL_NV_vdpau_interop2' : {
-        'number' : 593,
+        'number' : 533,
         'flags' : { 'public' },
         'supporters' : { 'NVIDIA' },
         'url' : 'extensions/NV/NV_vdpau_interop2.txt',