Index: src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
diff --git a/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp b/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
index e011605edff27e106a2b063112f6ec21fc55b1b3..e901b3602c0d3aaa6d903464f47bb0d39eef7cbb 100644 |
--- a/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
+++ b/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
@@ -17,10 +17,9 @@ |
* Otherwise, a springboard would be needed that hides the calling convention. |
*/ |
-#define SET_PROC(F) interface->f ## F = (GrGL ## F ## Proc) GetProcAddress(alu.get(), "gl" #F); |
-#define WGL_SET_PROC(F) interface->f ## F = (GrGL ## F ## Proc) wglGetProcAddress("gl" #F); |
-#define WGL_SET_PROC_SUFFIX(F, S) interface->f ## F = \ |
- (GrGL ## F ## Proc) wglGetProcAddress("gl" #F #S); |
+#define SET_PROC(F) interface->fFunctions.f ## F = (GrGL ## F ## Proc) GetProcAddress(alu.get(), "gl" #F); |
+#define WGL_SET_PROC(F) interface->fFunctions.f ## F = (GrGL ## F ## Proc) wglGetProcAddress("gl" #F); |
+#define WGL_SET_PROC_SUFFIX(F, S) interface->fFunctions.f ## F = (GrGL ## F ## Proc) wglGetProcAddress("gl" #F #S); |
class AutoLibraryUnload { |
public: |