diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-13 02:57:07 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-13 02:57:07 +0000 |
commit | bdf8441f808b7bd0a8fa10c59025c015db482a58 (patch) | |
tree | 1a3fc32a2401f28e8f4a5b5b9f6e3ce99f7c5d73 | |
parent | 56a2e084be4fa8baf9caf03f27f5d99d8545dc5c (diff) |
just some reformatting
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 1e731e575d..d0e7f7e9dc 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -583,8 +583,9 @@ static struct __DriverAPIRec radeonAPI = { * \return A pointer to a \c __DRIscreenPrivate on success, or \c NULL on * failure. */ -PUBLIC -void * __driCreateNewScreen_20050727( __DRInativeDisplay *dpy, int scrn, __DRIscreen *psc, +PUBLIC void * +__driCreateNewScreen_20050727( __DRInativeDisplay *dpy, + int scrn, __DRIscreen *psc, const __GLcontextModes * modes, const __DRIversion * ddx_version, const __DRIversion * dri_version, @@ -594,7 +595,6 @@ void * __driCreateNewScreen_20050727( __DRInativeDisplay *dpy, int scrn, __DRIsc int internal_api_version, const __DRIinterfaceMethods * interface, __GLcontextModes ** driver_modes ) - { __DRIscreenPrivate *psp; static const __DRIutilversion2 ddx_expected = { 4, 5, 0, 0 }; @@ -621,11 +621,13 @@ void * __driCreateNewScreen_20050727( __DRInativeDisplay *dpy, int scrn, __DRIsc (dri_priv->bpp == 16) ? 0 : 8, (dri_priv->backOffset != dri_priv->depthOffset) ); - /* Calling driInitExtensions here, with a NULL context pointer, does not actually - * enable the extensions. It just makes sure that all the dispatch offsets for all - * the extensions that *might* be enables are known. This is needed because the - * dispatch offsets need to be known when _mesa_context_create is called, but we can't - * enable the extensions until we have a context pointer. + /* Calling driInitExtensions here, with a NULL context pointer, + * does not actually enable the extensions. It just makes sure + * that all the dispatch offsets for all the extensions that + * *might* be enables are known. This is needed because the + * dispatch offsets need to be known when _mesa_context_create + * is called, but we can't enable the extensions until we have a + * context pointer. * * Hello chicken. Hello egg. How are you two today? */ |