Summary: | Win32 changes for gl.h | ||
---|---|---|---|
Product: | xorg | Reporter: | Alexander Gottwald <ago> |
Component: | Server/Ext/GLX | Assignee: | Alexander Gottwald <ago> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Windows (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 1802 | ||
Attachments: |
Description
Alexander Gottwald
2004-11-15 07:17:50 UTC
Created attachment 1312 [details] [review] Changes #include <windows.h> to <Xwindows.h> Created attachment 1818 [details] [review] Include Xwindows.h befor GL/gl.h on windows to prevent loading windows.h which pollutes our namespace with some symbols The patch for GL/gl.h is now obsolete Comment on attachment 1818 [details] [review] Include Xwindows.h befor GL/gl.h on windows to prevent loading windows.h which pollutes our namespace with some symbols commited to HEAD /cvs/xorg/xc/ChangeLog,v <-- ChangeLog new revision: 1.747; previous revision: 1.746 /cvs/xorg/xc/lib/GL/glx/compsize.c,v <-- lib/GL/glx/compsize.c new revision: 1.4; previous revision: 1.3 /cvs/xorg/xc/programs/Xserver/GL/windows/glwrap.c,v <-- programs/Xserver/GL/windows/glwrap.c new revision: 1.4; previous revision: 1.3 /cvs/xorg/xc/programs/Xserver/GL/windows/glwindows.h,v <-- programs/Xserver/GL/windows/glwindows.h new revision: 1.4; previous revision: 1.3 /cvs/xorg/xc/programs/Xserver/GL/windows/ChangeLog,v <-- programs/Xserver/GL/windows/ChangeLog new revision: 1.6; previous revision: 1.5 marking bug as fixed Created attachment 1819 [details] [review] define APIENTRY to prevent loading of window.h from GL/gl.h More files needed a change and some from mesa too. By defining APIENTRY for windows I can prevent <GL/gl.h> from loading <windows.h> Comment on attachment 1819 [details] [review] define APIENTRY to prevent loading of window.h from GL/gl.h commited to head /cvs/xorg/xc/programs/Xserver/GL/glx/Imakefile,v <-- programs/Xserver/GL/glx/I makefile new revision: 1.6; previous revision: 1.5 /cvs/xorg/xc/programs/Xserver/GL/windows/Imakefile,v <-- programs/Xserver/GL/w indows/Imakefile new revision: 1.4; previous revision: 1.3 /cvs/xorg/xc/programs/Xserver/GL/windows/ChangeLog,v <-- programs/Xserver/GL/w indows/ChangeLog new revision: 1.7; previous revision: 1.6 /cvs/xorg/xc/ChangeLog,v <-- ChangeLog new revision: 1.748; previous revision: 1.747 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.