Commit bfc5df16 by Jamie Madill Committed by Commit Bot

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 <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent edef895a
...@@ -30,14 +30,6 @@ class CopyTexture3DTest : public ANGLETest ...@@ -30,14 +30,6 @@ class CopyTexture3DTest : public ANGLETest
{ {
ANGLETest::SetUp(); ANGLETest::SetUp();
if (extensionEnabled("GL_ANGLE_copy_texture_3d"))
{
glCopyTexture3DANGLE = reinterpret_cast<PFNGLCOPYTEXTURE3DANGLEPROC>(
eglGetProcAddress("glCopyTexture3DANGLE"));
glCopySubTexture3DANGLE = reinterpret_cast<PFNGLCOPYSUBTEXTURE3DANGLEPROC>(
eglGetProcAddress("glCopySubTexture3DANGLE"));
}
const char *vertexShaderSource = getVertexShaderSource(); const char *vertexShaderSource = getVertexShaderSource();
const char *fragmentShaderSource = getFragmentShaderSource(); const char *fragmentShaderSource = getFragmentShaderSource();
...@@ -243,9 +235,6 @@ class CopyTexture3DTest : public ANGLETest ...@@ -243,9 +235,6 @@ class CopyTexture3DTest : public ANGLETest
GLuint mProgram = 0; GLuint mProgram = 0;
GLTexture sourceTexture; GLTexture sourceTexture;
GLTexture destTexture; GLTexture destTexture;
PFNGLCOPYTEXTURE3DANGLEPROC glCopyTexture3DANGLE = nullptr;
PFNGLCOPYSUBTEXTURE3DANGLEPROC glCopySubTexture3DANGLE = nullptr;
}; };
class Texture3DCopy : public CopyTexture3DTest class Texture3DCopy : public CopyTexture3DTest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment