mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
updated comment
This commit is contained in:
parent
67a8decffe
commit
a60ff20c58
1 changed files with 4 additions and 2 deletions
|
|
@ -90,6 +90,7 @@ static void radeonGetBufferSize( GLframebuffer *buffer,
|
|||
LOCK_HARDWARE( rmesa );
|
||||
*width = rmesa->dri.drawable->w;
|
||||
*height = rmesa->dri.drawable->h;
|
||||
|
||||
UNLOCK_HARDWARE( rmesa );
|
||||
}
|
||||
|
||||
|
|
@ -576,8 +577,8 @@ radeonSwapBuffers( __DRIdrawablePrivate *dPriv )
|
|||
}
|
||||
|
||||
|
||||
/* Force the context `c' to be the current context and associate with it
|
||||
* buffer `b'.
|
||||
/* Make context `c' the current context and bind it to the given
|
||||
* drawing and reading surfaces.
|
||||
*/
|
||||
GLboolean
|
||||
radeonMakeCurrent( __DRIcontextPrivate *driContextPriv,
|
||||
|
|
@ -592,6 +593,7 @@ radeonMakeCurrent( __DRIcontextPrivate *driContextPriv,
|
|||
fprintf(stderr, "%s ctx %p\n", __FUNCTION__, (void *) newCtx->glCtx);
|
||||
|
||||
if ( newCtx->dri.drawable != driDrawPriv ) {
|
||||
/* XXX we may need to validate the drawable here!!! */
|
||||
driDrawableInitVBlank( driDrawPriv, newCtx->vblank_flags );
|
||||
newCtx->dri.drawable = driDrawPriv;
|
||||
radeonUpdateWindow( newCtx->glCtx );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue