summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_screen.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-05-11 11:11:03 +0100
committerJosé Fonseca <[email protected]>2010-05-12 14:11:28 +0100
commite1238b5cad3845c029f60d92c08e810274517d33 (patch)
tree3e3c2d49d2d79bc946fc5d5e0094ea3bb03d6587 /src/gallium/include/pipe/p_screen.h
parent084eadac88fd27386539d36d1e382c8bbd15194c (diff)
gallium: Make PIPE_CAP_xxx enums.
Diffstat (limited to 'src/gallium/include/pipe/p_screen.h')
-rw-r--r--src/gallium/include/pipe/p_screen.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/include/pipe/p_screen.h b/src/gallium/include/pipe/p_screen.h
index beff1ae8a92..7195dc03963 100644
--- a/src/gallium/include/pipe/p_screen.h
+++ b/src/gallium/include/pipe/p_screen.h
@@ -79,13 +79,13 @@ struct pipe_screen {
* Query an integer-valued capability/parameter/limit
* \param param one of PIPE_CAP_x
*/
- int (*get_param)( struct pipe_screen *, int param );
+ int (*get_param)( struct pipe_screen *, enum pipe_cap param );
/**
* Query a float-valued capability/parameter/limit
* \param param one of PIPE_CAP_x
*/
- float (*get_paramf)( struct pipe_screen *, int param );
+ float (*get_paramf)( struct pipe_screen *, enum pipe_cap param );
struct pipe_context * (*context_create)( struct pipe_screen *,
void *priv );