path: root/src/mesa/drivers/dri/common/utils.h
diff options
authorIan Romanick <>2012-07-12 13:52:06 -0700
committerIan Romanick <>2012-10-29 09:55:42 -0700
commit1f6e10f67b0fce811eb91abfbdb3e9c6ed0035a3 (patch)
tree6a4aad0d93d6ee04a9d9c6fe6503ff25988990a3 /src/mesa/drivers/dri/common/utils.h
parent43d6fe156b2bf9754aaa65776e001c927275d765 (diff)
dri: Convert driCreateConfigs to use a gl_format enum
This is instead of the pair of GLenums for format and type that were previously used. This is necessary for the Intel drivers to expose sRGB framebuffer formats. Signed-off-by: Ian Romanick <> Reviewed-by: Eric Anholt <> Reviewed-by: Kenneth Graunke <> Reviewed-by: Chad Versace <>
Diffstat (limited to 'src/mesa/drivers/dri/common/utils.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/utils.h b/src/mesa/drivers/dri/common/utils.h
index 9d6eb3037c..e3b3940da3 100644
--- a/src/mesa/drivers/dri/common/utils.h
+++ b/src/mesa/drivers/dri/common/utils.h
@@ -48,7 +48,7 @@ struct __DRIconfigRec {
extern __DRIconfig **
-driCreateConfigs(GLenum fb_format, GLenum fb_type,
+driCreateConfigs(gl_format format,
const uint8_t * depth_bits, const uint8_t * stencil_bits,
unsigned num_depth_stencil_bits,
const GLenum * db_modes, unsigned num_db_modes,