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 925c7efe6e85a76dbf080c267ec167d2bcbc036f..c99708b83d7bdf14b0d69b88880c3570b5f7d172 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;