diff options
author | marha <marha@users.sourceforge.net> | 2011-12-23 11:20:53 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-12-23 11:20:53 +0100 |
commit | 86ceb05c15c7833f2d7582b7a3f9b9a7421ef3ed (patch) | |
tree | c9ebc27b1454b4659bb708b5a4d330dfafc862bb /xorg-server | |
parent | 5b2649ae7e0c560ee1a81cfaa4a2486b4d609b52 (diff) | |
download | vcxsrv-86ceb05c15c7833f2d7582b7a3f9b9a7421ef3ed.tar.gz vcxsrv-86ceb05c15c7833f2d7582b7a3f9b9a7421ef3ed.tar.bz2 vcxsrv-86ceb05c15c7833f2d7582b7a3f9b9a7421ef3ed.zip |
synchronised files
Diffstat (limited to 'xorg-server')
-rw-r--r-- | xorg-server/glx/indirect_dispatch.c | 26 | ||||
-rw-r--r-- | xorg-server/glx/indirect_dispatch_swap.c | 24 |
2 files changed, 24 insertions, 26 deletions
diff --git a/xorg-server/glx/indirect_dispatch.c b/xorg-server/glx/indirect_dispatch.c index adbafdfee..5c325d25e 100644 --- a/xorg-server/glx/indirect_dispatch.c +++ b/xorg-server/glx/indirect_dispatch.c @@ -106,8 +106,6 @@ void __glXDisp_CallLists(GLbyte * pc) const GLenum type = *(GLenum *)(pc + 4); const GLvoid * lists = (const GLvoid *)(pc + 8); - lists = (const GLvoid *) (pc + 8); - CALL_CallLists( GET_DISPATCH(), ( n, type, @@ -168,7 +166,7 @@ void __glXDisp_Begin(GLbyte * pc) void __glXDisp_Bitmap(GLbyte * pc) { - const GLubyte * const bitmap = (const GLubyte *) ((pc + 44)); + const GLubyte * const bitmap = (const GLubyte *) (pc + 44); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); @@ -1045,7 +1043,7 @@ void __glXDisp_PolygonMode(GLbyte * pc) void __glXDisp_PolygonStipple(GLbyte * pc) { - const GLubyte * const mask = (const GLubyte *) ((pc + 20)); + const GLubyte * const mask = (const GLubyte *) (pc + 20); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); @@ -1124,7 +1122,7 @@ void __glXDisp_TexParameteriv(GLbyte * pc) void __glXDisp_TexImage1D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 52)); + const GLvoid * const pixels = (const GLvoid *) (pc + 52); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -1148,7 +1146,7 @@ void __glXDisp_TexImage1D(GLbyte * pc) void __glXDisp_TexImage2D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 52)); + const GLvoid * const pixels = (const GLvoid *) (pc + 52); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -1754,7 +1752,7 @@ void __glXDisp_CopyPixels(GLbyte * pc) void __glXDisp_DrawPixels(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 36)); + const GLvoid * const pixels = (const GLvoid *) (pc + 36); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -2980,7 +2978,7 @@ void __glXDisp_PrioritizeTextures(GLbyte * pc) void __glXDisp_TexSubImage1D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 56)); + const GLvoid * const pixels = (const GLvoid *) (pc + 56); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3003,7 +3001,7 @@ void __glXDisp_TexSubImage1D(GLbyte * pc) void __glXDisp_TexSubImage2D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 56)); + const GLvoid * const pixels = (const GLvoid *) (pc + 56); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3045,7 +3043,7 @@ void __glXDisp_BlendEquation(GLbyte * pc) void __glXDisp_ColorTable(GLbyte * pc) { - const GLvoid * const table = (const GLvoid *) ((pc + 40)); + const GLvoid * const table = (const GLvoid *) (pc + 40); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3222,7 +3220,7 @@ int __glXDisp_GetColorTableParameterivSGI(__GLXclientState *cl, GLbyte *pc) void __glXDisp_ColorSubTable(GLbyte * pc) { - const GLvoid * const data = (const GLvoid *) ((pc + 40)); + const GLvoid * const data = (const GLvoid *) (pc + 40); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3255,7 +3253,7 @@ void __glXDisp_CopyColorSubTable(GLbyte * pc) void __glXDisp_ConvolutionFilter1D(GLbyte * pc) { - const GLvoid * const image = (const GLvoid *) ((pc + 44)); + const GLvoid * const image = (const GLvoid *) (pc + 44); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3277,7 +3275,7 @@ void __glXDisp_ConvolutionFilter1D(GLbyte * pc) void __glXDisp_ConvolutionFilter2D(GLbyte * pc) { - const GLvoid * const image = (const GLvoid *) ((pc + 44)); + const GLvoid * const image = (const GLvoid *) (pc + 44); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3779,7 +3777,7 @@ void __glXDisp_TexImage3D(GLbyte * pc) void __glXDisp_TexSubImage3D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 88)); + const GLvoid * const pixels = (const GLvoid *) (pc + 88); __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); diff --git a/xorg-server/glx/indirect_dispatch_swap.c b/xorg-server/glx/indirect_dispatch_swap.c index f5cffe431..096bd7f30 100644 --- a/xorg-server/glx/indirect_dispatch_swap.c +++ b/xorg-server/glx/indirect_dispatch_swap.c @@ -271,7 +271,7 @@ void __glXDispSwap_Begin(GLbyte * pc) void __glXDispSwap_Bitmap(GLbyte * pc) { - const GLubyte * const bitmap = (const GLubyte *) ((pc + 44)); + const GLubyte * const bitmap = (const GLubyte *) (pc + 44); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); @@ -1148,7 +1148,7 @@ void __glXDispSwap_PolygonMode(GLbyte * pc) void __glXDispSwap_PolygonStipple(GLbyte * pc) { - const GLubyte * const mask = (const GLubyte *) ((pc + 20)); + const GLubyte * const mask = (const GLubyte *) (pc + 20); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_LSB_FIRST, hdr->lsbFirst) ); @@ -1227,7 +1227,7 @@ void __glXDispSwap_TexParameteriv(GLbyte * pc) void __glXDispSwap_TexImage1D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 52)); + const GLvoid * const pixels = (const GLvoid *) (pc + 52); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -1251,7 +1251,7 @@ void __glXDispSwap_TexImage1D(GLbyte * pc) void __glXDispSwap_TexImage2D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 52)); + const GLvoid * const pixels = (const GLvoid *) (pc + 52); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -1857,7 +1857,7 @@ void __glXDispSwap_CopyPixels(GLbyte * pc) void __glXDispSwap_DrawPixels(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 36)); + const GLvoid * const pixels = (const GLvoid *) (pc + 36); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3108,7 +3108,7 @@ void __glXDispSwap_PrioritizeTextures(GLbyte * pc) void __glXDispSwap_TexSubImage1D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 56)); + const GLvoid * const pixels = (const GLvoid *) (pc + 56); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3131,7 +3131,7 @@ void __glXDispSwap_TexSubImage1D(GLbyte * pc) void __glXDispSwap_TexSubImage2D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 56)); + const GLvoid * const pixels = (const GLvoid *) (pc + 56); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3173,7 +3173,7 @@ void __glXDispSwap_BlendEquation(GLbyte * pc) void __glXDispSwap_ColorTable(GLbyte * pc) { - const GLvoid * const table = (const GLvoid *) ((pc + 40)); + const GLvoid * const table = (const GLvoid *) (pc + 40); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3354,7 +3354,7 @@ int __glXDispSwap_GetColorTableParameterivSGI(__GLXclientState *cl, GLbyte *pc) void __glXDispSwap_ColorSubTable(GLbyte * pc) { - const GLvoid * const data = (const GLvoid *) ((pc + 40)); + const GLvoid * const data = (const GLvoid *) (pc + 40); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3387,7 +3387,7 @@ void __glXDispSwap_CopyColorSubTable(GLbyte * pc) void __glXDispSwap_ConvolutionFilter1D(GLbyte * pc) { - const GLvoid * const image = (const GLvoid *) ((pc + 44)); + const GLvoid * const image = (const GLvoid *) (pc + 44); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3409,7 +3409,7 @@ void __glXDispSwap_ConvolutionFilter1D(GLbyte * pc) void __glXDispSwap_ConvolutionFilter2D(GLbyte * pc) { - const GLvoid * const image = (const GLvoid *) ((pc + 44)); + const GLvoid * const image = (const GLvoid *) (pc + 44); __GLXpixelHeader * const hdr = (__GLXpixelHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); @@ -3923,7 +3923,7 @@ void __glXDispSwap_TexImage3D(GLbyte * pc) void __glXDispSwap_TexSubImage3D(GLbyte * pc) { - const GLvoid * const pixels = (const GLvoid *) ((pc + 88)); + const GLvoid * const pixels = (const GLvoid *) (pc + 88); __GLXpixel3DHeader * const hdr = (__GLXpixel3DHeader *)(pc); CALL_PixelStorei( GET_DISPATCH(), (GL_UNPACK_SWAP_BYTES, hdr->swapBytes) ); |