mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
glapi: Undefine MemoryBarrier
Reviewed-by: Marek Olák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8661>
This commit is contained in:
parent
4656be70dd
commit
92f1b6bad5
2 changed files with 8 additions and 0 deletions
|
|
@ -166,6 +166,10 @@ class PrintGlOffsets(gl_XML.gl_print_base):
|
|||
#error RETURN_DISPATCH must be defined
|
||||
#endif
|
||||
|
||||
#ifdef MemoryBarrier
|
||||
#undef MemoryBarrier
|
||||
#endif
|
||||
|
||||
""")
|
||||
return
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,10 @@ class PrintGlTable(gl_XML.gl_print_base):
|
|||
print('extern "C" {')
|
||||
print('#endif')
|
||||
print('')
|
||||
print('#ifdef MemoryBarrier')
|
||||
print('#undef MemoryBarrier')
|
||||
print('#endif')
|
||||
print('')
|
||||
print('struct _glapi_table')
|
||||
print('{')
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue