| Index: src/utils/win/SkWGL.h
|
| diff --git a/src/utils/win/SkWGL.h b/src/utils/win/SkWGL.h
|
| index ebd95e7a8308f1a5a1eb8275ecd7b10e77a5872a..3799377cc3c425444a8f408bf9a6116e0a4398a2 100644
|
| --- a/src/utils/win/SkWGL.h
|
| +++ b/src/utils/win/SkWGL.h
|
| @@ -10,6 +10,8 @@
|
| #ifndef SkWGL_DEFINED
|
| #define SkWGL_DEFINED
|
|
|
| +#include "SkLeanWindows.h"
|
| +
|
| /**
|
| * Working with WGL extensions can be a pain. Among the reasons is that You must
|
| * have a GL context to get the proc addresses, but you want to use the procs to
|
| @@ -22,16 +24,6 @@
|
| * an extension.
|
| */
|
|
|
| -#if !defined(WIN32_LEAN_AND_MEAN)
|
| - #define WIN32_LEAN_AND_MEAN
|
| - #define SK_LOCAL_LEAN_AND_MEAN
|
| -#endif
|
| -#include <windows.h>
|
| -#if defined(SK_LOCAL_LEAN_AND_MEAN)
|
| - #undef WIN32_LEAN_AND_MEAN
|
| - #undef SK_LOCAL_LEAN_AND_MEAN
|
| -#endif
|
| -
|
| #define SK_WGL_DRAW_TO_WINDOW 0x2001
|
| #define SK_WGL_ACCELERATION 0x2003
|
| #define SK_WGL_SUPPORT_OPENGL 0x2010
|
|
|