Changeset 225051 in webkit
- Timestamp:
- Nov 20, 2017 7:57:57 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r225050 r225051 1 2017-11-20 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 [WPE] GLContextEGLWPE.cpp:44:96: error: invalid cast from type ‘GLNativeWindowType {aka long long unsigned int}’ to type ‘EGLNativeWindowType {aka unsigned int} 4 https://bugs.webkit.org/show_bug.cgi?id=179511 5 6 Reviewed by Žan Doberšek. 7 8 r217208 changed the definition of GLNativeWindowType from EGLNativeWindowType to uint64_t for platform WPE. 9 This built fine on a 64-bit platform since uint64_t matches the size of a pointer, but fails on 32-bits. 10 11 This switches back the definition to EGLNativeWindowType. 12 And we need to include <EGL/eglplatform.h> first in order to get a definition for EGLNativeWindowType itself. 13 14 This commit pretty much reverts the changes r217208 did on platform/graphics/GLContext.h 15 16 No new tests, it is a build fix. 17 18 * platform/graphics/GLContext.h: 19 1 20 2017-11-20 Michael Catanzaro <mcatanzaro@igalia.com> 2 21 -
trunk/Source/WebCore/platform/graphics/GLContext.h
r217208 r225051 25 25 #include <wtf/Noncopyable.h> 26 26 27 #if USE(EGL) && !PLATFORM(GTK) && !PLATFORM(WPE) 27 #if USE(EGL) && !PLATFORM(GTK) 28 #if PLATFORM(WPE) 29 // FIXME: For now default to the GBM EGL platform, but this should really be 30 // somehow deducible from the build configuration. 31 #define __GBM__ 1 32 #include <EGL/eglplatform.h> 33 #else 28 34 #include "eglplatform.h" 35 #endif // PLATFORM(WPE) 29 36 typedef EGLNativeWindowType GLNativeWindowType; 30 #else 37 #else // !USE(EGL) || PLATFORM(GTK) 31 38 typedef uint64_t GLNativeWindowType; 32 39 #endif
Note: See TracChangeset
for help on using the changeset viewer.