Move common image implementations to EGL.
BUG=18110152
Change-Id: Ic3bf93d61682985e56b1b22c9fafd8c6e63cf442
Reviewed-on: https://swiftshader-review.googlesource.com/1253
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
Tested-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/GLES2/libGLESv2/Device.cpp b/src/GLES2/libGLESv2/Device.cpp
index 7a0488b..dbd2bf5 100644
--- a/src/GLES2/libGLESv2/Device.cpp
+++ b/src/GLES2/libGLESv2/Device.cpp
@@ -265,7 +265,7 @@
UNREACHABLE();
}
- Image *surface = new Image(0, width, height, format, GL_NONE, GL_NONE, multiSampleDepth, lockable, true);
+ Image *surface = new Image(0, width, height, format, multiSampleDepth, lockable, true);
if(!surface)
{
@@ -284,7 +284,7 @@
return 0;
}
- Image *surface = new Image(0, width, height, format, GL_NONE, GL_NONE, multiSampleDepth, lockable, true);
+ Image *surface = new Image(0, width, height, format, multiSampleDepth, lockable, true);
if(!surface)
{