Mesa (master): driswrast: Fix more context creation breakage

Kristian Høgsberg krh at kemper.freedesktop.org
Mon May 3 12:02:30 UTC 2010


Module: Mesa
Branch: master
Commit: 9ab3df4ebbcb5fe7a65e6cf05b3a6671392ba929
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ab3df4ebbcb5fe7a65e6cf05b3a6671392ba929

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Mon May  3 08:00:10 2010 -0400

driswrast: Fix more context creation breakage

Pointed out by Colin Harrison.

---

 src/mesa/drivers/dri/swrast/swrast.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/swrast/swrast.c b/src/mesa/drivers/dri/swrast/swrast.c
index 6f54981..7fa7e21 100644
--- a/src/mesa/drivers/dri/swrast/swrast.c
+++ b/src/mesa/drivers/dri/swrast/swrast.c
@@ -501,7 +501,8 @@ swrast_init_driver_functions(struct dd_function_table *driver)
  */
 
 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;




More information about the mesa-commit mailing list