diff options
author | Brian <brian@i915.localnet.net> | 2007-08-02 20:40:33 -0600 |
---|---|---|
committer | Brian <brian@i915.localnet.net> | 2007-08-02 20:40:33 -0600 |
commit | c358a39af5968faf27c5fdc85bf64ac76fa2486b (patch) | |
tree | 7352a73c5883e9ae8d06a846564a3aa9845486b8 /src/mesa/pipe/p_context.h | |
parent | 61d0215d7b35bff980acbf1d61c764f8b80c0e71 (diff) |
added pipe->supported_formats()
Diffstat (limited to 'src/mesa/pipe/p_context.h')
-rw-r--r-- | src/mesa/pipe/p_context.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_context.h b/src/mesa/pipe/p_context.h index 4f8bdae140..7acaabbdfd 100644 --- a/src/mesa/pipe/p_context.h +++ b/src/mesa/pipe/p_context.h @@ -50,6 +50,12 @@ struct pipe_context { void (*destroy)( struct pipe_context * ); /* + * Queries + */ + const GLuint *(*supported_formats)(struct pipe_context *pipe, + GLuint *numFormats); + + /* * Drawing */ void (*draw_vb)( struct pipe_context *pipe, |