Commit 7ca51c52 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Render.c. simplify nxagentMatchingFormats

parent 087b082c
...@@ -794,9 +794,7 @@ int nxagentCreatePicture(PicturePtr pPicture, Mask mask) ...@@ -794,9 +794,7 @@ int nxagentCreatePicture(PicturePtr pPicture, Mask mask)
XRenderPictFormat *nxagentMatchingFormats(PictFormatPtr pFormat) XRenderPictFormat *nxagentMatchingFormats(PictFormatPtr pFormat)
{ {
int i; for (int i = 0; i < nxagentNumFormats; i++)
for (i = 0; i < nxagentNumFormats; i++)
{ {
if (pFormat -> type == nxagentArrayFormats[i].type && if (pFormat -> type == nxagentArrayFormats[i].type &&
pFormat -> depth == nxagentArrayFormats[i].depth && pFormat -> depth == nxagentArrayFormats[i].depth &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment