mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 16:00:09 +01:00
st/mesa: allow st_format.h to be included from C++ files
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
ef27190a34
commit
672257dc69
1 changed files with 8 additions and 0 deletions
|
|
@ -36,6 +36,10 @@
|
|||
#include "pipe/p_defines.h"
|
||||
#include "pipe/p_format.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct gl_context;
|
||||
struct pipe_screen;
|
||||
|
||||
|
|
@ -77,4 +81,8 @@ st_translate_color(const union gl_color_union *colorIn,
|
|||
union pipe_color_union *colorOut,
|
||||
GLenum baseFormat, GLboolean is_integer);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ST_FORMAT_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue