[Mesa-dev] [PATCH] Fixup drivers/dri/swrast/swrast.c to new API aware context

Colin Harrison colin.harrison at virgin.net
Mon May 3 04:39:52 PDT 2010


Hi,

I needed to apply the following patch now that drisw state tracker uses the
new API aware context create...

--- ./src/mesa/drivers/dri/swrast/save_swrast.c 2010-05-02
20:45:28.000000000 +0100
+++ ./src/mesa/drivers/dri/swrast/swrast.c      2010-05-03
11:27:40.000000000 +0100
@@ -501,7 +501,7 @@
  */

 static GLboolean
-dri_create_context(const __GLcontextModes * visual,
+dri_create_context(gl_api api, const __GLcontextModes * visual,
                   __DRIcontext * cPriv, void *sharedContextPrivate)
 {
     struct dri_context *ctx = NULL;


Thanks,
Colin Harrison



More information about the mesa-dev mailing list