summaryrefslogtreecommitdiff
path: root/hw/xfree86/dri/dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/dri/dri.c')
-rw-r--r--hw/xfree86/dri/dri.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/dri/dri.c b/hw/xfree86/dri/dri.c
index 8ac66fdc5..8d2851033 100644
--- a/hw/xfree86/dri/dri.c
+++ b/hw/xfree86/dri/dri.c
@@ -41,6 +41,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "xf86.h"
#include <sys/time.h>
#include <unistd.h>
+#include <string.h>
+#include <stdio.h>
#define NEED_REPLIES
#define NEED_EVENTS
@@ -1135,7 +1137,9 @@ DRIGetDrawableInfo(ScreenPtr pScreen,
WindowPtr pWin, pOldWin;
int i;
+#if 0
printf("maxDrawableTableEntry = %d\n", pDRIPriv->pDriverInfo->maxDrawableTableEntry);
+#endif
if (pDrawable->type == DRAWABLE_WINDOW) {
pWin = (WindowPtr)pDrawable;