Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.

This commit is contained in:
Ian Romanick 2004-06-01 15:42:14 +00:00
parent 0c0f5c2b72
commit a249ad756f
1 changed files with 2 additions and 2 deletions

View File

@ -1007,7 +1007,7 @@ driCreateNewContext(Display *dpy, const __GLcontextModes *modes,
pctx->unbindContext = NULL; pctx->unbindContext = NULL;
pctx->bindContext2 = NULL; pctx->bindContext2 = NULL;
pctx->unbindContext2 = NULL; pctx->unbindContext2 = NULL;
pctx->bindContex3 = driBindContext3; pctx->bindContext3 = driBindContext3;
pctx->unbindContext3 = driUnbindContext3; pctx->unbindContext3 = driUnbindContext3;
#else #else
pctx->bindContext = driBindContext; pctx->bindContext = driBindContext;
@ -1271,7 +1271,7 @@ __driUtilCreateNewScreen(Display *dpy, int scrn, __DRIscreen *psc,
#ifndef DRI_NEW_INTERFACE_ONLY #ifndef DRI_NEW_INTERFACE_ONLY
psc->createContext = driCreateContext; psc->createContext = driCreateContext;
#else #else
psc->createConteext = NULL; psc->createContext = NULL;
#endif #endif
psc->createNewDrawable = driCreateNewDrawable; psc->createNewDrawable = driCreateNewDrawable;
psc->getDrawable = driGetDrawable; psc->getDrawable = driGetDrawable;