diff options
Diffstat (limited to 'src/savage_video.c')
-rw-r--r-- | src/savage_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_video.c b/src/savage_video.c index 57483e0..bccb801 100644 --- a/src/savage_video.c +++ b/src/savage_video.c @@ -1965,7 +1965,7 @@ SavagePutImage( /* Check whether AGP buffers can be allocated. If not, fall back to ordinary upload to framebuffer (slower) */ - if (!pPriv->tried_agp && !psav->IsPCI && psav->drmFD > 0) { + if (!pPriv->tried_agp && !psav->IsPCI && psav->drmFD > 0 && psav->DRIServerInfo != NULL) { int ret; SAVAGEDRIServerPrivatePtr pSAVAGEDRIServer = psav->DRIServerInfo; |