mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
d3d1x: define GUIDs in the normal way
This commit is contained in:
parent
3d4a15dfab
commit
ab5e9a726d
3 changed files with 0 additions and 16 deletions
|
|
@ -42,20 +42,6 @@ namespace std
|
|||
#include <utility>
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define INITGUID
|
||||
#include <guiddef.h>
|
||||
|
||||
// just replicate GUIDs in every object file to avoid the hassle of having to pull in a library for them
|
||||
#ifdef __GNUC__
|
||||
#define ATTRIBUTE_UNUSED __attribute__((unused))
|
||||
#else
|
||||
#define ATTRIBUTE_UNUSED
|
||||
#endif
|
||||
#undef DEFINE_GUID
|
||||
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
||||
static const GUID name ATTRIBUTE_UNUSED = \
|
||||
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
||||
|
||||
#include <objbase.h>
|
||||
#include <specstrings.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
*
|
||||
**************************************************************************/
|
||||
|
||||
#define INITGUID
|
||||
#include "d3d10app.h"
|
||||
#include <X11/Xlib.h>
|
||||
#include <GL/glx.h>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
#define INITGUID
|
||||
#include "d3d11app.h"
|
||||
#include <X11/Xlib.h>
|
||||
#include <GL/glx.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue