diff options
author | Marek Olšák <[email protected]> | 2011-02-16 00:02:15 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-03-29 12:04:54 +0200 |
commit | 3bdd12ecb57e9cdc2b21cd665fab14698c1c07df (patch) | |
tree | c844a3b76da4a84c9f35c97bf2255b712875c908 /src/glx/indirect.c | |
parent | 9d60a7ce08a67eb8b79c60f829d090ba4a37ed7e (diff) |
mesa: regenerate glapi files
Diffstat (limited to 'src/glx/indirect.c')
-rw-r--r-- | src/glx/indirect.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/glx/indirect.c b/src/glx/indirect.c index b2675c2958f..c80a237bedc 100644 --- a/src/glx/indirect.c +++ b/src/glx/indirect.c @@ -8597,6 +8597,21 @@ __indirect_glDrawBuffersARB(GLsizei n, const GLenum * bufs) } } +#define X_GLrop_ClampColorARB 234 +void +__indirect_glClampColorARB(GLenum target, GLenum clamp) +{ + struct glx_context *const gc = __glXGetCurrentContext(); + const GLuint cmdlen = 12; + emit_header(gc->pc, X_GLrop_ClampColorARB, cmdlen); + (void) memcpy((void *) (gc->pc + 4), (void *) (&target), 4); + (void) memcpy((void *) (gc->pc + 8), (void *) (&clamp), 4); + gc->pc += cmdlen; + if (__builtin_expect(gc->pc > gc->limit, 0)) { + (void) __glXFlushRenderBuffer(gc, gc->pc); + } +} + #define X_GLrop_RenderbufferStorageMultisample 4331 void __indirect_glRenderbufferStorageMultisample(GLenum target, GLsizei samples, |