aboutsummaryrefslogtreecommitdiff
path: root/src/libGLESv2/ImageIndex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libGLESv2/ImageIndex.cpp')
-rw-r--r--src/libGLESv2/ImageIndex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libGLESv2/ImageIndex.cpp b/src/libGLESv2/ImageIndex.cpp
index 98067861..3522b997 100644
--- a/src/libGLESv2/ImageIndex.cpp
+++ b/src/libGLESv2/ImageIndex.cpp
@@ -29,7 +29,7 @@ ImageIndex &ImageIndex::operator=(const ImageIndex &other)
ImageIndex ImageIndex::Make2D(GLint mipIndex)
{
- return ImageIndex(GL_TEXTURE_2D, mipIndex, 0);
+ return ImageIndex(GL_TEXTURE_2D, mipIndex, ENTIRE_LEVEL);
}
ImageIndex ImageIndex::MakeCube(GLenum target, GLint mipIndex)