diff options
| author | Reece Mackie <[email protected]> | 2019-04-27 20:51:04 +0100 |
|---|---|---|
| committer | Reece Mackie <[email protected]> | 2019-04-27 20:51:04 +0100 |
| commit | 9434dc588ab295ee909b119a86adbbdae889d6b2 (patch) | |
| tree | 782799f481a71ad0edb03b14148644d6bf4398ac /src/external | |
| parent | b911cefab3f39506e22d517088cc9869f363e897 (diff) | |
| parent | 2de1f318212dbceb71db6be053be995208748f2a (diff) | |
| download | raylib-9434dc588ab295ee909b119a86adbbdae889d6b2.tar.gz raylib-9434dc588ab295ee909b119a86adbbdae889d6b2.zip | |
Merge branch 'master' into gamepad-rework
Diffstat (limited to 'src/external')
| -rw-r--r-- | src/external/ANGLE/EGL/eglplatform.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/external/ANGLE/EGL/eglplatform.h b/src/external/ANGLE/EGL/eglplatform.h index eb3ea70c..7e542ff7 100644 --- a/src/external/ANGLE/EGL/eglplatform.h +++ b/src/external/ANGLE/EGL/eglplatform.h @@ -74,11 +74,16 @@ //#include <windows.h> // raylib edit!!! +#ifndef PLATFORM_UWP typedef void *PVOID; // PVOID is a pointer to any type. This type is declared in WinNT.h typedef PVOID HANDLE; // HANDLE is handle to an object. This type is declared in WinNT.h typedef HANDLE HWND; // HWND is a handle to a window. This type is declared in WinDef.h typedef HANDLE HDC; // HDC is a handle to a device context (DC). This type is declared in WinDef.h typedef HANDLE HBITMAP; // HBITMAP is a handle to a bitmap. This type is declared in WinDef.h +#else +//UWP Fix +#include "Windows.h" +#endif // HDC, HBITMAP and HWND are actually pointers to void. You can cast a long to a HWND like this: HWND h = (HWND)my_long_var; // but very careful of what information is stored in my_long_var. You have to make sure that you have a pointer in there. |
