diff options
author | Maciej Cencora <m.cencora@gmail.com> | 2009-01-23 19:33:25 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-01-23 19:33:25 -0500 |
commit | 5f98508effbdc1fd62d0df15798722c147d88da1 (patch) | |
tree | 2035651d4a395201668daa3950d07ade696afa40 /src/radeon_accel.c | |
parent | fef1c12fbe4ceb4676258850d1fa5cac994f7c21 (diff) |
Make sure gb_num_pipes is initialized when DRI is disabled
Found with valgrind
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r-- | src/radeon_accel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c index 2f62fa5a..96570e8c 100644 --- a/src/radeon_accel.c +++ b/src/radeon_accel.c @@ -368,6 +368,7 @@ void RADEONEngineInit(ScrnInfoPtr pScrn) RADEONInfoPtr info = RADEONPTR(pScrn); unsigned char *RADEONMMIO = info->MMIO; int datatype = 0; + info->accel_state->num_gb_pipes = 0; xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, RADEON_LOGLEVEL_DEBUG, "EngineInit (%d/%d)\n", |