Skip to content

Commit f8ba1c5

Browse files
authored
Enable GL on Windows ARM (#151)
1 parent c14ba84 commit f8ba1c5

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/gpu/ganesh/gl/win/GrGLMakeNativeInterface_win.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@
1313
#include "include/gpu/gl/GrGLInterface.h"
1414
#include "src/gpu/ganesh/gl/GrGLUtil.h"
1515

16-
#if defined(_M_ARM64)
17-
18-
sk_sp<const GrGLInterface> GrGLMakeNativeInterface() { return nullptr; }
19-
20-
#else
21-
2216
typedef HGLRC (WINAPI *WGLGetCurrentContextProc)(VOID);
2317
typedef PROC (WINAPI *WGLGetProcAddressProc)(LPCSTR name);
2418

@@ -109,6 +103,4 @@ sk_sp<const GrGLInterface> GrGLMakeNativeInterface() {
109103
return nullptr;
110104
}
111105

112-
#endif // ARM64
113-
114106
#endif//defined(SK_BUILD_FOR_WIN)

src/utils/win/SkWGL_win.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
#include "include/core/SkTypes.h"
9-
#if defined(SK_BUILD_FOR_WIN) && !defined(_M_ARM64) && !defined(WINUWP)
9+
#if defined(SK_BUILD_FOR_WIN) && !defined(WINUWP)
1010

1111
#include "src/utils/win/SkWGL.h"
1212

0 commit comments

Comments
 (0)