Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.
authorIan Romanick <idr@us.ibm.com>
Tue, 1 Jun 2004 15:42:14 +0000 (15:42 +0000)
committerIan Romanick <idr@us.ibm.com>
Tue, 1 Jun 2004 15:42:14 +0000 (15:42 +0000)
src/mesa/drivers/dri/common/dri_util.c

index 925c7ef..c99708b 100644 (file)
@@ -1007,7 +1007,7 @@ driCreateNewContext(Display *dpy, const __GLcontextModes *modes,
     pctx->unbindContext  = NULL;
     pctx->bindContext2   = NULL;
     pctx->unbindContext2 = NULL;
-    pctx->bindContex   = 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;