diff options
author | Colin Snover | 2017-11-24 10:06:40 -0600 |
---|---|---|
committer | Colin Snover | 2017-11-25 20:19:01 -0600 |
commit | fbefda8a2fb7441690b5a47004fc7009c9bc7424 (patch) | |
tree | 6c3d7b7e87152ff969b5517ec67a825030918151 /backends/platform | |
parent | 2a22c16b916602ee9ced429455add5707b0c4f74 (diff) | |
download | scummvm-rg350-fbefda8a2fb7441690b5a47004fc7009c9bc7424.tar.gz scummvm-rg350-fbefda8a2fb7441690b5a47004fc7009c9bc7424.tar.bz2 scummvm-rg350-fbefda8a2fb7441690b5a47004fc7009c9bc7424.zip |
ANDROID: Fix illegal-in-C++11 narrowing conversions
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/android/texture.cpp | 6 |
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)); |