aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/android/texture.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/android/texture.cpp b/backends/platform/android/texture.cpp
index 165396b82b..f8c09bfb43 100644
--- a/backends/platform/android/texture.cpp
+++ b/backends/platform/android/texture.cpp
@@ -185,9 +185,9 @@ void GLESBaseTexture::drawTexture(GLshort x, GLshort y, GLshort w, GLshort h) {
const GLshort vertices[] = {
x, y,
- x + w, y,
- x, y + h,
- x + w, y + h,
+ GLshort(x + w), y,
+ x, GLshort(y + h),
+ GLshort(x + w), GLshort(y + h)
};
GLCALL(glVertexPointer(2, GL_SHORT, 0, vertices));