Track the currently bound read drawable and make sure its info is up

to date.
This commit is contained in:
Ian Romanick
2006-10-16 20:59:53 +00:00
parent 8c5ae80916
commit 7b1ff32607
2 changed files with 15 additions and 2 deletions

View File

@@ -355,10 +355,15 @@ struct __DRIcontextPrivateRec {
__DRInativeDisplay *display;
/**
* Pointer to drawable currently bound to this context.
* Pointer to drawable currently bound to this context for drawing.
*/
__DRIdrawablePrivate *driDrawablePriv;
/**
* Pointer to drawable currently bound to this context for reading.
*/
__DRIdrawablePrivate *driReadablePriv;
/**
* Pointer to screen on which this context was created.
*/