diff options
author | Mathias Agopian <mathias@google.com> | 2009-06-24 18:31:21 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-06-24 18:31:21 -0700 |
commit | 4c4b387afb2e775fcac3b81a249bb7646515dffa (patch) | |
tree | 893af3f7521ad4aa204449dc58132b21177e41fb /opengl/libagl | |
parent | 2e123245811a1f31c080a29728fcc1655045f011 (diff) | |
parent | 6ebed6600464d507a651d99792baa3a23a4f0766 (diff) | |
download | frameworks_native-4c4b387afb2e775fcac3b81a249bb7646515dffa.zip frameworks_native-4c4b387afb2e775fcac3b81a249bb7646515dffa.tar.gz frameworks_native-4c4b387afb2e775fcac3b81a249bb7646515dffa.tar.bz2 |
merge master in master_gl
Diffstat (limited to 'opengl/libagl')
-rw-r--r-- | opengl/libagl/texture.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/opengl/libagl/texture.cpp b/opengl/libagl/texture.cpp index 05fd46e..d767c31 100644 --- a/opengl/libagl/texture.cpp +++ b/opengl/libagl/texture.cpp @@ -997,7 +997,7 @@ void glTexParameteriv( memcpy(textureObject->crop_rect, params, 4*sizeof(GLint)); break; default: - ogles_error(c, GL_INVALID_ENUM); + texParameterx(target, pname, GLfixed(params[0]), c); return; } } @@ -1016,6 +1016,13 @@ void glTexParameterx( texParameterx(target, pname, param, c); } +void glTexParameteri( + GLenum target, GLenum pname, GLint param) +{ + ogles_context_t* c = ogles_context_t::get(); + texParameterx(target, pname, GLfixed(param), c); +} + // ---------------------------------------------------------------------------- #if 0 #pragma mark - |