diff options
-rw-r--r-- | GL/glx/glxserver.h | 2 | ||||
-rw-r--r-- | GL/glx/rensize.c | 2 | ||||
-rw-r--r-- | GL/glx/rensizetab.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/GL/glx/glxserver.h b/GL/glx/glxserver.h index ce91ce3d8..387489ab7 100644 --- a/GL/glx/glxserver.h +++ b/GL/glx/glxserver.h @@ -254,6 +254,6 @@ extern int __glXImageSize(GLenum format, GLenum type, GLint imageHeight, GLint rowLength, GLint skipImages, GLint skipRows, GLint alignment); -extern int __glXDrawArraysSize(const GLbyte *pc, Bool swap); +extern int __glXDrawArraysReqSize(const GLbyte *pc, Bool swap); #endif /* !__GLX_server_h__ */ diff --git a/GL/glx/rensize.c b/GL/glx/rensize.c index 47d698905..c69619a61 100644 --- a/GL/glx/rensize.c +++ b/GL/glx/rensize.c @@ -323,7 +323,7 @@ int __glXTypeSize(GLenum enm) } } -int __glXDrawArraysSize( const GLbyte *pc, Bool swap ) +int __glXDrawArraysReqSize( const GLbyte *pc, Bool swap ) { __GLXdispatchDrawArraysHeader *hdr = (__GLXdispatchDrawArraysHeader *) pc; __GLXdispatchDrawArraysComponentHeader *compHeader; diff --git a/GL/glx/rensizetab.c b/GL/glx/rensizetab.c index b9768a5b5..22dfc4961 100644 --- a/GL/glx/rensizetab.c +++ b/GL/glx/rensizetab.c @@ -235,7 +235,7 @@ __GLXrenderSizeData __glXRenderSizeTable[__GLX_MAX_RENDER_OPCODE_EXT - __GLX_MIN /* Translatef */ { 16, 0 }, /* Viewport */ { 20, 0 }, /* PolygonOffset */ { 12, 0 }, - /* DrawArrays */ { 16, __glXDrawArraysSize }, + /* DrawArrays */ { 16, __glXDrawArraysReqSize }, /* Indexubv */ { 8, 0 }, /* ColorSubTable */ { 44, __glXColorSubTableReqSize }, /* CopyColorSubTable */ { 24, 0 }, @@ -2338,7 +2338,7 @@ __GLXrenderSizeData __glXRenderSizeTable_EXT[__GLX_MAX_RENDER_OPCODE_EXT - __GLX /* ResetMinmax */ { 8, }, /* TexImage3D */ { 84, __glXTexImage3DReqSize }, /* TexSubImage3D */ { 92, __glXTexSubImage3DReqSize }, - /* DrawArrays */ { 16, __glXDrawArraysSize }, + /* DrawArrays */ { 16, __glXDrawArraysReqSize }, /* BindTexture */ { 12, 0 }, /* PrioritizeTextures */ { 8, __glXPrioritizeTexturesReqSize }, /* CopyTexImage1D */ { 32, 0 }, |