summaryrefslogtreecommitdiff
path: root/src/gx_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gx_driver.c')
-rw-r--r--src/gx_driver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gx_driver.c b/src/gx_driver.c
index 188828c..0471389 100644
--- a/src/gx_driver.c
+++ b/src/gx_driver.c
@@ -269,7 +269,7 @@ GXAllocateMemory(ScreenPtr pScrn, ScrnInfoPtr pScrni, int rotate)
RegionRec OffscreenRegion;
BoxRec AvailBox;
- /* Assume the shadow FB exists even if it doesnt */
+ /* Assume the shadow FB exists even if it doesn't */
if (pGeode->shadowSize == 0) {
size = (pScrn->width * bytpp) * pScrni->virtualX;
@@ -564,7 +564,7 @@ GXPreInit(ScrnInfoPtr pScrni, int flags)
(int *) &(pGeode->FBAvail)))
pGeode->FBAvail = 0;
- /* For compatability - allow SWCursor too */
+ /* For compatibility - allow SWCursor too */
if (xf86ReturnOptValBool(GeodeOptions, GX_OPTION_SW_CURSOR, FALSE))
pGeode->tryHWCursor = FALSE;
@@ -620,7 +620,7 @@ GXPreInit(ScrnInfoPtr pScrni, int flags)
pGeode->useEXA = FALSE;
else if (xf86NameCmp(s, "EXA"))
xf86DrvMsg(pScrni->scrnIndex, X_ERROR,
- "Unknown accleration method %s. Defaulting to XAA.\n",
+ "Unknown acceleration method %s. Defaulting to XAA.\n",
s);
#elif defined(XF86EXA)
pGeode->useEXA = TRUE;
@@ -1135,7 +1135,7 @@ GXEnterGraphics(ScreenPtr pScrn, ScrnInfoPtr pScrni)
}
/* Set up the memory */
- /* XXX - FIXME - when we alow inital rotation, it should be here */
+ /* XXX - FIXME - when we allow initial rotation, it should be here */
GXAllocateMemory(pScrn, pScrni, pGeode->rotation);
/* Clear the framebuffer */
@@ -1635,7 +1635,7 @@ GeodeCalculatePitchBytes(unsigned int width, unsigned int bpp)
if (width < 640)
delta <<= 1;
- /* Calculate the pitch (compression rquires a power of 2) */
+ /* Calculate the pitch (compression requires a power of 2) */
if (delta > 4096)
delta = 8192;