(submit/fixup-req-len) xwin: drop swapping request length fields
The request struct's length fields aren't used anymore - we have the client->req_len field instead, which also is bigreq-compatible. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
		
							parent
							
								
									5aa6dce415
								
							
						
					
					
						commit
						cf058b5b1c
					
				|  | @ -191,7 +191,6 @@ static int | |||
| SProcWindowsDRIQueryVersion(ClientPtr client) | ||||
| { | ||||
|     REQUEST(xWindowsDRIQueryVersionReq); | ||||
|     swaps(&stuff->length); | ||||
|     return ProcWindowsDRIQueryVersion(client); | ||||
| } | ||||
| 
 | ||||
|  | @ -199,7 +198,6 @@ static int | |||
| SProcWindowsDRIQueryDirectRenderingCapable(ClientPtr client) | ||||
| { | ||||
|     REQUEST(xWindowsDRIQueryDirectRenderingCapableReq); | ||||
|     swaps(&stuff->length); | ||||
|     swapl(&stuff->screen); | ||||
|     return ProcWindowsDRIQueryDirectRenderingCapable(client); | ||||
| } | ||||
|  | @ -208,7 +206,6 @@ static int | |||
| SProcWindowsDRIQueryDrawable(ClientPtr client) | ||||
| { | ||||
|     REQUEST(xWindowsDRIQueryDrawableReq); | ||||
|     swaps(&stuff->length); | ||||
|     swapl(&stuff->screen); | ||||
|     swapl(&stuff->drawable); | ||||
|     return ProcWindowsDRIQueryDrawable(client); | ||||
|  | @ -218,7 +215,6 @@ static int | |||
| SProcWindowsDRIFBConfigToPixelFormat(ClientPtr client) | ||||
| { | ||||
|     REQUEST(xWindowsDRIFBConfigToPixelFormatReq); | ||||
|     swaps(&stuff->length); | ||||
|     swapl(&stuff->screen); | ||||
|     swapl(&stuff->fbConfigID); | ||||
|     return ProcWindowsDRIFBConfigToPixelFormat(client); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue