mirror of
https://github.com/X11Libre/xf86-video-geode.git
synced 2026-03-24 01:24:52 +00:00
Comment unused variable
A few other variables are unused but they are setting using register reads so I am afraid to touch them. Signed-off-by: Connor Behan <connor.behan@gmail.com>
This commit is contained in:
@@ -295,12 +295,12 @@ LXCopyPacked(ScrnInfoPtr pScrni, int id, unsigned char *buf,
|
||||
GeodeRec *pGeode = GEODEPTR(pScrni);
|
||||
unsigned int dstPitch, srcPitch;
|
||||
unsigned int srcOffset, dstOffset;
|
||||
unsigned int lines, top, left, pixels;
|
||||
unsigned int top, left, pixels;
|
||||
|
||||
dstPitch = ((width << 1) + 3) & ~3;
|
||||
srcPitch = (width << 1);
|
||||
|
||||
lines = ((dstPitch * height) + pGeode->Pitch - 1) / pGeode->Pitch;
|
||||
/* lines = ((dstPitch * height) + pGeode->Pitch - 1) / pGeode->Pitch; */
|
||||
|
||||
if (LXAllocateVidMem(pScrni, pPriv, dstPitch * height) == FALSE) {
|
||||
ErrorF("Error allocating an offscreen Packed region.\n");
|
||||
|
||||
Reference in New Issue
Block a user