mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 15:00:10 +01:00
glx: Drop duplicate psc field in dri context struct
Same problem as fixed for drisw in 4d58b5b482.
This commit is contained in:
parent
941b893032
commit
bc34aa6128
1 changed files with 2 additions and 3 deletions
|
|
@ -82,7 +82,6 @@ struct dri_context
|
|||
__GLXDRIcontext dri_vtable;
|
||||
__DRIcontext *driContext;
|
||||
XID hwContextID;
|
||||
__GLXscreenConfigs *psc;
|
||||
};
|
||||
|
||||
struct dri_drawable
|
||||
|
|
@ -524,7 +523,7 @@ driBindContext(__GLXcontext *context,
|
|||
__GLXDRIdrawable *draw, __GLXDRIdrawable *read)
|
||||
{
|
||||
struct dri_context *pcp = (struct dri_context *) context;
|
||||
struct dri_screen *psc = (struct dri_screen *) pcp->psc;
|
||||
struct dri_screen *psc = (struct dri_screen *) pcp->base.psc;
|
||||
struct dri_drawable *pdr = (struct dri_drawable *) draw;
|
||||
struct dri_drawable *prd = (struct dri_drawable *) read;
|
||||
|
||||
|
|
@ -536,7 +535,7 @@ static void
|
|||
driUnbindContext(__GLXcontext * context)
|
||||
{
|
||||
struct dri_context *pcp = (struct dri_context *) context;
|
||||
struct dri_screen *psc = (struct dri_screen *) pcp->psc;
|
||||
struct dri_screen *psc = (struct dri_screen *) pcp->base.psc;
|
||||
|
||||
(*psc->core->unbindContext) (pcp->driContext);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue