diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-31 09:58:25 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-05-31 09:58:25 +0100 |
commit | 8accf0a891c85c7d747c5f7f4a4d8a99adb91b2a (patch) | |
tree | 7812672c4dccca009bea66aa596c9d9ef6659a19 /src/mesa/drivers/dri/mach64 | |
parent | 636f7becfd9afc0d2d19090a16a780098cfa4eb3 (diff) |
intel: Initialize batch->reserved_space on allocation
Fixes the assert (and buffer overrun):
glknots: intel_batchbuffer.c:164: _intel_batchbuffer_flush: Assertion
'used >= batch->buf->size' failed.
Reported in bug:
Bug 28274 - xscreensaver's glknots hangs GPU (945GME/Pineview)
https://bugs.freedesktop.org/show_bug.cgi?id=28274
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/mesa/drivers/dri/mach64')
0 files changed, 0 insertions, 0 deletions