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 df104eaa47
commit ebb5228d18
2 changed files with 5 additions and 2 deletions

View file

@ -43,7 +43,7 @@
#include "util/u_memory.h"
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

@ -35,6 +35,8 @@
#include "pipe/p_compiler.h"
#include "drm.h"
#include "dri_util.h"
#include "dri_wrapper.h"
#include "main/mtypes.h"
struct pipe_context;
struct pipe_fence;
@ -109,7 +111,8 @@ dri_make_current(__DRIcontext * driContextPriv,
__DRIdrawable * driReadPriv);
boolean
dri_create_context(const __GLcontextModes * visual,
dri_create_context(gl_api api,
const __GLcontextModes * visual,
__DRIcontext * driContextPriv,
void *sharedContextPrivate);