aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpu')
-rw-r--r--tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
index c006098d2f..74cadfcb62 100644
--- a/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
+++ b/tools/gpu/gl/egl/CreatePlatformGLTestContext_egl.cpp
@@ -246,6 +246,9 @@ GrGLuint EGLGLTestContext::eglImageToExternalTexture(GrEGLImage image) const {
return 0;
}
GrGLuint texID;
+ // TODO(kjlubick): Migrate away from using the #define hackery by using the
+ // function pointers directly, e.g.
+ // this->gl()->fFunctions.fGenTextures(1, &texID);
glGenTextures(1, &texID);
if (!texID) {
return 0;