DRI2: Pass the context instead of the screen to __dri2ParseEvents().
authorKristian Høgsberg <krh@sasori.boston.redhat.com>
Mon, 10 Mar 2008 01:19:17 +0000 (21:19 -0400)
committerKristian Høgsberg <krh@sasori.boston.redhat.com>
Mon, 10 Mar 2008 01:19:17 +0000 (21:19 -0400)
commit2d5ea175f7fcd65de71b7589435b9a908f998d51
tree0c42cda6e5585e65c78a7848f436b857b2dcb3b2
parent0bba0e5be7a4a7275dad1edc34bdcc134ea1f424
DRI2: Pass the context instead of the screen to __dri2ParseEvents().

Makes a lot more sense, since the screen is always implicit in the
DRI drawable, but it may not be possible to track down a context from
just a drawable.
src/mesa/drivers/dri/common/dri_util.c
src/mesa/drivers/dri/common/dri_util.h
src/mesa/drivers/dri/intel/intel_context.c