diff options
author | Antia Puentes <[email protected]> | 2015-12-16 20:46:49 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2016-03-03 15:14:05 +0100 |
commit | 806bc2bf223c03c488de5549582141824dcbbc40 (patch) | |
tree | 351d2138729ef7cc2f2c418263b494e5c308fff5 /src/mesa/main/context.h | |
parent | 4af3e5e9f1f80e18b5f9b198f9bd652936170908 (diff) |
mesa/formatquery: Added a func to check if the <target> is supported
From the ARB_internalformat_query2 spec:
"If the particular <target> and <internalformat> combination do not make
sense, or if a particular type of <target> is not supported by the
implementation the "unsupported" answer should be given. This is not an
error."
This function checks if the <target> is supported by the implementation.
v2: Allow RENDERBUFFER targets also on GLES 3 profiles.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/context.h')
0 files changed, 0 insertions, 0 deletions