diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-08 15:18:34 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-06-08 15:32:11 +0100 |
commit | 86f2cae45048158154eb2b1dbb181c3e1d6a8bf7 (patch) | |
tree | 2ceefe9f9b091fd9e24207ad2270a7d021cf5367 /src/sna | |
parent | 6153141fa6e1328a007efe6862ff2d7b4adaaf83 (diff) |
sna/dri2: DBG compile fix
Typo in DBG message.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna')
-rw-r--r-- | src/sna/sna_dri2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c index c95ef0cb..8553169b 100644 --- a/src/sna/sna_dri2.c +++ b/src/sna/sna_dri2.c @@ -1616,7 +1616,7 @@ static void chain_swap(struct sna *sna, struct sna_dri2_event *chain) if (chain->queued) /* too early! */ return; - assert(chain == dri2_chain((WindowPtr)chain->draw)); + assert(chain == dri2_chain(chain->draw)); DBG(("%s: chaining draw=%ld, type=%d\n", __FUNCTION__, (long)chain->draw->id, chain->type)); chain->queued = true; @@ -2398,7 +2398,7 @@ sna_dri2_schedule_swap(ClientPtr client, DrawablePtr draw, DRI2BufferPtr front, assert(draw->type != DRAWABLE_PIXMAP); while (dri2_chain(draw) && has_pending_events(sna)) { - DBG(("%s: flushing pending events\n", __FUNCTIONS__)); + DBG(("%s: flushing pending events\n", __FUNCTION__)); sna_mode_wakeup(sna); } |