mapi: #include "util/glheader.h" instead of #include "GL/gl.h"
Also add macro to guard windows.h won't be included Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Acked-by: Brian Paul brianp@vmware.com Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19472>
This commit is contained in:
@@ -164,7 +164,7 @@ class PrintGlxProtoStubs(glX_proto_common.glx_print_proto):
|
||||
|
||||
def printRealHeader(self):
|
||||
print('')
|
||||
print('#include <GL/gl.h>')
|
||||
print('#include "util/glheader.h"')
|
||||
print('#include "indirect.h"')
|
||||
print('#include "glxclient.h"')
|
||||
print('#include "indirect_size.h"')
|
||||
|
Reference in New Issue
Block a user