summaryrefslogtreecommitdiff
path: root/src/aticonsole.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/aticonsole.c')
-rw-r--r--src/aticonsole.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aticonsole.c b/src/aticonsole.c
index 1b87a95..9c020e8 100644
--- a/src/aticonsole.c
+++ b/src/aticonsole.c
@@ -40,6 +40,7 @@
#ifdef XF86DRI_DEVEL
#include "mach64_common.h"
+#include "atidri.h"
#endif
#include "mach64_common.h"
@@ -315,6 +316,8 @@ ATIEnterVT
if (pATI->directRenderingEnabled)
{
+ /* get the Mach64 back into shape after resume */
+ ATIDRIResume(pScreen);
DRIUnlock(pScreen);
}
@@ -350,6 +353,8 @@ ATIEnterVT
if (pATI->directRenderingEnabled)
{
+ /* get the Mach64 back into shape after resume */
+ ATIDRIResume(pScreen);
DRIUnlock(pScreen);
}