diff options
author | Kristian Høgsberg <[email protected]> | 2010-02-09 15:26:14 -0500 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-02-09 15:55:25 -0500 |
commit | debf00e5fc3828f63e0f99d72c7fa6cd6ce012c5 (patch) | |
tree | c0e64c0a66bdb72a4616bac7efc4fa078b3cad66 /src/gallium/state_trackers/dri | |
parent | 8c593d3ea9fa137290480e73aeebcf807c920f50 (diff) |
dri_interface: Introduce DRI tokens for the texBuffer texture formats
This used to take GLX tokens, but the DRI interface can't depend on GLX
defines. We fix this by introducing DRI tokens that have the same value
as the GLX texture format tokens.
Diffstat (limited to 'src/gallium/state_trackers/dri')
-rw-r--r-- | src/gallium/state_trackers/dri/dri_drawable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/dri_drawable.c b/src/gallium/state_trackers/dri/dri_drawable.c index f7ed6605bf8..ff21f2f9580 100644 --- a/src/gallium/state_trackers/dri/dri_drawable.c +++ b/src/gallium/state_trackers/dri/dri_drawable.c @@ -268,7 +268,7 @@ void dri2_set_tex_buffer2(__DRIcontext *pDRICtx, GLint target, void dri2_set_tex_buffer(__DRIcontext *pDRICtx, GLint target, __DRIdrawable *dPriv) { - dri2_set_tex_buffer2(pDRICtx, target, GLX_TEXTURE_FORMAT_RGBA_EXT, dPriv); + dri2_set_tex_buffer2(pDRICtx, target, __DRI_TEXTURE_FORMAT_RGBA, dPriv); } void |