mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
Fix compile errors. Add vblank_seq to nouveau_context.
This commit is contained in:
parent
a05db7f505
commit
2581ba7f1e
2 changed files with 3 additions and 3 deletions
|
|
@ -188,7 +188,7 @@ GLboolean nouveauMakeCurrent( __DRIcontextPrivate *driContextPriv,
|
|||
nouveauContextPtr oldNOUVEAUCtx = ctx ? NOUVEAU_CONTEXT(ctx) : NULL;
|
||||
nouveauContextPtr newNOUVEAUCtx = (nouveauContextPtr) driContextPriv->driverPrivate;
|
||||
|
||||
driDrawableInitVBlank( driDrawPriv, newNOUVEAUCtx->vblank_flags );
|
||||
driDrawableInitVBlank(driDrawPriv, newNOUVEAUCtx->vblank_flags, &newNOUVEAUCtx->vblank_seq );
|
||||
newNOUVEAUCtx->driDrawable = driDrawPriv;
|
||||
|
||||
_mesa_make_current( newNOUVEAUCtx->glCtx,
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
void nouveauIoctlInitFifo(nouveauContextPtr nmesa)
|
||||
{
|
||||
int ret;
|
||||
drm_nouveau_fifo_init_t fifo_init;
|
||||
drm_nouveau_fifo_alloc_t fifo_init;
|
||||
|
||||
ret = drmCommandWriteRead(nmesa->driFd, DRM_NOUVEAU_FIFO_INIT, &fifo_init, sizeof(fifo_init));
|
||||
ret = drmCommandWriteRead(nmesa->driFd, DRM_NOUVEAU_FIFO_ALLOC, &fifo_init, sizeof(fifo_init));
|
||||
if (ret)
|
||||
FATAL("Fifo initialization ioctl failed (returned %d)\n",ret);
|
||||
MESSAGE("Fifo init ok. Using context %d\n", fifo_init.channel);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue