diff options
author | Kristian Høgsberg <krh@redhat.com> | 2009-02-02 12:02:00 -0500 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2009-02-02 12:02:00 -0500 |
commit | 5c370091620b38447172ebeffbc6ed3256e86c9d (patch) | |
tree | d8b53cb1ef977c035050ec217d51727267c7d910 /src/i830_memory.c | |
parent | 2013799b20599a58de48cb21a5a389e898a58af1 (diff) |
Fix front buffer memset() for non-KMS case.
Missed the pI830->FbBase condition when removing the KMS hook.
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r-- | src/i830_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c index e5d70fa2..23cc4c78 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -1292,7 +1292,7 @@ i830_allocate_framebuffer(ScrnInfoPtr pScrn, I830Ptr pI830, BoxPtr FbMemBox, return NULL; } - if (!pI830->use_drm_mode) + if (!pI830->use_drm_mode && pI830->FbBase) memset (pI830->FbBase + front_buffer->offset, 0, size); return front_buffer; |