diff options
author | Ian Romanick <[email protected]> | 2006-08-24 21:42:38 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2006-08-24 21:42:38 +0000 |
commit | a5f2206077402f0a8700ec1348e09731e53c5bc2 (patch) | |
tree | 6de5fbc0d45deb5ef1418a078c2077d52ec24b48 /src/glx/x11/indirect_init.c | |
parent | bf83e652f6d023f1cdcf83ec3ebac024dc0032dc (diff) |
GL_EXT_paletted_texture functions should alias GL_SGI_color_table functions.
The functions for GL_EXT_paletted_texture that do not share GLX
protocol with GL_ARB_imaging are supposed to alias the similar
functions from GL_SGI_color_table. They didn't. This patch corrects
this problem and enables GLX protocol for both extensions.
Since this removes 3 entries from the dispatch table, this change
creates a lot of changes in the generated files.
Diffstat (limited to 'src/glx/x11/indirect_init.c')
-rw-r--r-- | src/glx/x11/indirect_init.c | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/glx/x11/indirect_init.c b/src/glx/x11/indirect_init.c index 66827efa638..5c1de7c56bc 100644 --- a/src/glx/x11/indirect_init.c +++ b/src/glx/x11/indirect_init.c @@ -588,6 +588,12 @@ __GLapi * __glXNewIndirectAPI( void ) glAPI->DrawBuffersARB = __indirect_glDrawBuffersARB; + /* 14. GL_SGI_color_table */ + + glAPI->GetColorTableParameterfvSGI = __indirect_glGetColorTableParameterfvSGI; + glAPI->GetColorTableParameterivSGI = __indirect_glGetColorTableParameterivSGI; + glAPI->GetColorTableSGI = __indirect_glGetColorTableSGI; + /* 20. GL_EXT_texture_object */ glAPI->AreTexturesResidentEXT = __indirect_glAreTexturesResidentEXT; @@ -635,16 +641,16 @@ __GLapi * __glXNewIndirectAPI( void ) /* 148. GL_EXT_multi_draw_arrays */ - glAPI->MultiDrawElementsEXT = __indirect_glMultiDrawElementsEXT; glAPI->MultiDrawArraysEXT = __indirect_glMultiDrawArraysEXT; + glAPI->MultiDrawElementsEXT = __indirect_glMultiDrawElementsEXT; /* 149. GL_EXT_fog_coord */ - glAPI->FogCoordPointerEXT = __indirect_glFogCoordPointerEXT; - glAPI->FogCoorddEXT = __indirect_glFogCoorddEXT; glAPI->FogCoorddvEXT = __indirect_glFogCoorddvEXT; glAPI->FogCoordfEXT = __indirect_glFogCoordfEXT; glAPI->FogCoordfvEXT = __indirect_glFogCoordfvEXT; + glAPI->FogCoordPointerEXT = __indirect_glFogCoordPointerEXT; + glAPI->FogCoorddEXT = __indirect_glFogCoorddEXT; /* 173. GL_EXT_blend_func_separate */ @@ -652,9 +658,6 @@ __GLapi * __glXNewIndirectAPI( void ) /* 197. GL_MESA_window_pos */ - glAPI->WindowPos3ivMESA = __indirect_glWindowPos3ivMESA; - glAPI->WindowPos3sMESA = __indirect_glWindowPos3sMESA; - glAPI->WindowPos3svMESA = __indirect_glWindowPos3svMESA; glAPI->WindowPos2dMESA = __indirect_glWindowPos2dMESA; glAPI->WindowPos2dvMESA = __indirect_glWindowPos2dvMESA; glAPI->WindowPos2fMESA = __indirect_glWindowPos2fMESA; @@ -668,6 +671,9 @@ __GLapi * __glXNewIndirectAPI( void ) glAPI->WindowPos3fMESA = __indirect_glWindowPos3fMESA; glAPI->WindowPos3fvMESA = __indirect_glWindowPos3fvMESA; glAPI->WindowPos3iMESA = __indirect_glWindowPos3iMESA; + glAPI->WindowPos3ivMESA = __indirect_glWindowPos3ivMESA; + glAPI->WindowPos3sMESA = __indirect_glWindowPos3sMESA; + glAPI->WindowPos3svMESA = __indirect_glWindowPos3svMESA; /* 233. GL_NV_vertex_program */ @@ -738,8 +744,8 @@ __GLapi * __glXNewIndirectAPI( void ) /* 262. GL_NV_point_sprite */ - glAPI->PointParameteriNV = __indirect_glPointParameteriNV; glAPI->PointParameterivNV = __indirect_glPointParameterivNV; + glAPI->PointParameteriNV = __indirect_glPointParameteriNV; /* 268. GL_EXT_stencil_two_side */ @@ -756,9 +762,6 @@ __GLapi * __glXNewIndirectAPI( void ) /* 310. GL_EXT_framebuffer_object */ - glAPI->GetRenderbufferParameterivEXT = __indirect_glGetRenderbufferParameterivEXT; - glAPI->IsFramebufferEXT = __indirect_glIsFramebufferEXT; - glAPI->IsRenderbufferEXT = __indirect_glIsRenderbufferEXT; glAPI->RenderbufferStorageEXT = __indirect_glRenderbufferStorageEXT; glAPI->BindFramebufferEXT = __indirect_glBindFramebufferEXT; glAPI->BindRenderbufferEXT = __indirect_glBindRenderbufferEXT; @@ -773,6 +776,9 @@ __GLapi * __glXNewIndirectAPI( void ) glAPI->GenRenderbuffersEXT = __indirect_glGenRenderbuffersEXT; glAPI->GenerateMipmapEXT = __indirect_glGenerateMipmapEXT; glAPI->GetFramebufferAttachmentParameterivEXT = __indirect_glGetFramebufferAttachmentParameterivEXT; + glAPI->GetRenderbufferParameterivEXT = __indirect_glGetRenderbufferParameterivEXT; + glAPI->IsFramebufferEXT = __indirect_glIsFramebufferEXT; + glAPI->IsRenderbufferEXT = __indirect_glIsRenderbufferEXT; return glAPI; } |