Update dri state tracker to use new API aware context create

This commit is contained in:
Xavier Chantry 2010-05-02 16:27:25 -04:00 committed by Kristian Høgsberg
parent 801dcd9e8f
commit 38e3fb23da
2 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,7 @@ dri_init_extensions(struct dri_context *ctx)
}
GLboolean
dri_create_context(const __GLcontextModes * visual,
dri_create_context(gl_api api, const __GLcontextModes * visual,
__DRIcontext * cPriv, void *sharedContextPrivate)
{
__DRIscreen *sPriv = cPriv->driScreenPriv;

View File

@ -34,6 +34,7 @@
#include "pipe/p_compiler.h"
#include "dri_wrapper.h"
#include "main/mtypes.h"
struct pipe_context;
struct pipe_fence;
@ -83,7 +84,8 @@ struct dri_context *
dri_get_current(__DRIscreen * driScreenPriv);
boolean
dri_create_context(const __GLcontextModes * visual,
dri_create_context(gl_api api,
const __GLcontextModes * visual,
__DRIcontext * driContextPriv,
void *sharedContextPrivate);