diff options
author | 2009-07-21 11:16:54 -0700 | |
---|---|---|
committer | 2009-07-21 11:16:54 -0700 | |
commit | 4d3b5c1e36f2a3746a1c87f8af97d4fe97e8f49e (patch) | |
tree | 253e04766c56308bdea922e22a75acafa43b666f /opengl/libagl/texture.cpp | |
parent | 512837cef2b7203123d0b8df7ad49454ce932a75 (diff) |
donut snapshot
Diffstat (limited to 'opengl/libagl/texture.cpp')
-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 b6f534b7ea..14a910c873 100644 --- a/opengl/libagl/texture.cpp +++ b/opengl/libagl/texture.cpp @@ -900,7 +900,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; } } @@ -919,6 +919,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 - |