From bfc5df1663c06744bf500ae8b8dfd2343e3e8471 Mon Sep 17 00:00:00 2001 From: Jamie Madill Date: Mon, 8 Apr 2019 12:54:56 -0400 Subject: [PATCH] Remove function pointers in CopyTexture3DTest. No longer needed with the ANGLE loader. Bug: None Change-Id: If206c529efaee5b81b68059341dcc6e841126842 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1556698 Commit-Queue: Jamie Madill Reviewed-by: Jamie Madill --- src/tests/gl_tests/CopyTexture3DTest.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/tests/gl_tests/CopyTexture3DTest.cpp b/src/tests/gl_tests/CopyTexture3DTest.cpp index 72a25dc4d..f95dc26e6 100644 --- a/src/tests/gl_tests/CopyTexture3DTest.cpp +++ b/src/tests/gl_tests/CopyTexture3DTest.cpp @@ -30,14 +30,6 @@ class CopyTexture3DTest : public ANGLETest { ANGLETest::SetUp(); - if (extensionEnabled("GL_ANGLE_copy_texture_3d")) - { - glCopyTexture3DANGLE = reinterpret_cast( - eglGetProcAddress("glCopyTexture3DANGLE")); - glCopySubTexture3DANGLE = reinterpret_cast( - eglGetProcAddress("glCopySubTexture3DANGLE")); - } - const char *vertexShaderSource = getVertexShaderSource(); const char *fragmentShaderSource = getFragmentShaderSource(); @@ -243,9 +235,6 @@ class CopyTexture3DTest : public ANGLETest GLuint mProgram = 0; GLTexture sourceTexture; GLTexture destTexture; - - PFNGLCOPYTEXTURE3DANGLEPROC glCopyTexture3DANGLE = nullptr; - PFNGLCOPYSUBTEXTURE3DANGLEPROC glCopySubTexture3DANGLE = nullptr; }; class Texture3DCopy : public CopyTexture3DTest