OSDN Git Service

just some reformatting
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 13 Sep 2005 02:57:07 +0000 (02:57 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 13 Sep 2005 02:57:07 +0000 (02:57 +0000)
src/mesa/drivers/dri/radeon/radeon_screen.c

index 1e731e5..d0e7f7e 100644 (file)
@@ -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?
        */