diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-03-12 13:12:44 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-03-12 13:12:44 -0700 |
commit | 92dc3fc52cf097bd105460cf377779bdcf146d62 (patch) | |
tree | aa1c6a8230541a45e941eb4c459b19b8487e08d3 /opengl/libagl/state.cpp | |
parent | 06ed9491418ce84e4272bf4201545fa6cfe3932e (diff) | |
download | frameworks_native-92dc3fc52cf097bd105460cf377779bdcf146d62.tar.gz frameworks_native-92dc3fc52cf097bd105460cf377779bdcf146d62.tar.bz2 frameworks_native-92dc3fc52cf097bd105460cf377779bdcf146d62.zip |
native frameworks: 64-bit compile issues
- Fix format (print/scanf)
- Suppress unused argument warning messages (bonus)
Change-Id: I05c7724d2aba6da1e82a86000e11f3a8fef4e728
Diffstat (limited to 'opengl/libagl/state.cpp')
-rw-r--r-- | opengl/libagl/state.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opengl/libagl/state.cpp b/opengl/libagl/state.cpp index 4bc653a02..1d5def589 100644 --- a/opengl/libagl/state.cpp +++ b/opengl/libagl/state.cpp @@ -219,11 +219,11 @@ using namespace android; #endif // These ones are super-easy, we're not supporting those features! -void glSampleCoverage(GLclampf value, GLboolean invert) { +void glSampleCoverage(GLclampf /*value*/, GLboolean /*invert*/) { } -void glSampleCoveragex(GLclampx value, GLboolean invert) { +void glSampleCoveragex(GLclampx /*value*/, GLboolean /*invert*/) { } -void glStencilFunc(GLenum func, GLint ref, GLuint mask) { +void glStencilFunc(GLenum func, GLint /*ref*/, GLuint /*mask*/) { ogles_context_t* c = ogles_context_t::get(); if (func < GL_NEVER || func > GL_ALWAYS) { ogles_error(c, GL_INVALID_ENUM); |