summaryrefslogtreecommitdiff
path: root/src/ffb_dri.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2004-06-16 09:27:15 +0000
committerEric Anholt <anholt@freebsd.org>2004-06-16 09:27:15 +0000
commitf47ae0017ff8c7fa8ec7c5a9da7e3d5775ee2673 (patch)
tree25ca15b62a06f2f47597257a5fbbd451553e24de /src/ffb_dri.c
parenta302d3993349aeec3fbf3bf753e1e7d57519b300 (diff)
DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613
Diffstat (limited to 'src/ffb_dri.c')
-rw-r--r--src/ffb_dri.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ffb_dri.c b/src/ffb_dri.c
index 334bdfd..b905216 100644
--- a/src/ffb_dri.c
+++ b/src/ffb_dri.c
@@ -57,9 +57,9 @@ static char FFBKernelDriverName[] = "ffb";
static char FFBClientDriverName[] = "ffb";
/* Forward declarations. */
-static Bool FFBDRICreateContext(ScreenPtr, VisualPtr, drmContext,
+static Bool FFBDRICreateContext(ScreenPtr, VisualPtr, drm_context_t,
void *, DRIContextType);
-static void FFBDRIDestroyContext(ScreenPtr, drmContext, DRIContextType);
+static void FFBDRIDestroyContext(ScreenPtr, drm_context_t, DRIContextType);
static void FFBDRIInitBuffers(WindowPtr, RegionPtr, CARD32);
static void FFBDRIMoveBuffers(WindowPtr, DDXPointRec, RegionPtr, CARD32);
@@ -123,8 +123,8 @@ FFBDRIInitVisualConfigs(ScreenPtr pScreen)
pConfigs->stencilSize = 0;
pConfigs->auxBuffers = 0;
pConfigs->level = 0;
- pConfigs->visualRating = 0;
- pConfigs->transparentPixel = 0;
+ pConfigs->visualRating = GLX_NONE;
+ pConfigs->transparentPixel = GLX_NONE;
pConfigs->transparentRed = 0;
pConfigs->transparentGreen = 0;
pConfigs->transparentBlue = 0;
@@ -416,7 +416,7 @@ FFBDRICloseScreen(ScreenPtr pScreen)
}
static Bool
-FFBDRICreateContext(ScreenPtr pScreen, VisualPtr visual, drmContext hwContext,
+FFBDRICreateContext(ScreenPtr pScreen, VisualPtr visual, drm_context_t hwContext,
void *pVisualConfigPriv, DRIContextType context)
{
/* Nothing to do... */
@@ -424,7 +424,7 @@ FFBDRICreateContext(ScreenPtr pScreen, VisualPtr visual, drmContext hwContext,
}
static void
-FFBDRIDestroyContext(ScreenPtr pScreen, drmContext hwContext, DRIContextType context)
+FFBDRIDestroyContext(ScreenPtr pScreen, drm_context_t hwContext, DRIContextType context)
{
/* Nothing to do... */
}