mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
glsl/types: Expose the function_param and struct_field structs to C
Previously, they were hidden behind a #ifdef __cplusplus so C wouldn't find them. This commit simpliy moves the ifdef.
This commit is contained in:
parent
053778c493
commit
fe550f0738
1 changed files with 4 additions and 4 deletions
|
|
@ -742,6 +742,10 @@ private:
|
|||
/*@}*/
|
||||
};
|
||||
|
||||
#undef DECL_TYPE
|
||||
#undef STRUCT_TYPE
|
||||
#endif /* __cplusplus */
|
||||
|
||||
struct glsl_struct_field {
|
||||
const struct glsl_type *type;
|
||||
const char *name;
|
||||
|
|
@ -798,8 +802,4 @@ glsl_align(unsigned int a, unsigned int align)
|
|||
return (a + align - 1) / align * align;
|
||||
}
|
||||
|
||||
#undef DECL_TYPE
|
||||
#undef STRUCT_TYPE
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* GLSL_TYPES_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue