summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2004-06-01 15:42:14 +0000
committerIan Romanick <[email protected]>2004-06-01 15:42:14 +0000
commita249ad756f72835c5894e389150207b98532e114 (patch)
treec698ddc750bd8ebf7af26708b35c009378110169 /src/mesa/drivers/dri
parent0c0f5c2b728da25e7f390922c6ceb252b42ce0ff (diff)
Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index 925c7efe6e8..c99708b83d7 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -1007,7 +1007,7 @@ driCreateNewContext(Display *dpy, const __GLcontextModes *modes,
pctx->unbindContext = NULL;
pctx->bindContext2 = NULL;
pctx->unbindContext2 = NULL;
- pctx->bindContex3 = driBindContext3;
+ pctx->bindContext3 = driBindContext3;
pctx->unbindContext3 = driUnbindContext3;
#else
pctx->bindContext = driBindContext;
@@ -1271,7 +1271,7 @@ __driUtilCreateNewScreen(Display *dpy, int scrn, __DRIscreen *psc,
#ifndef DRI_NEW_INTERFACE_ONLY
psc->createContext = driCreateContext;
#else
- psc->createConteext = NULL;
+ psc->createContext = NULL;
#endif
psc->createNewDrawable = driCreateNewDrawable;
psc->getDrawable = driGetDrawable;