diff options
author | Marek Olšák <[email protected]> | 2010-07-21 09:14:43 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-07-21 22:54:34 +0200 |
commit | c304869ec02793f2d8bf363d1e3b37c3d121cca7 (patch) | |
tree | 49987a3408defc124e5f522e29bb57a0e970c30b /src/mesa/state_tracker/st_extensions.c | |
parent | 4460e9f0a1931c74ea364f19d7b1c458b6bc62d4 (diff) |
st/mesa: implement depth clamp
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index d23ac0c2845..90e78679e47 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -397,4 +397,8 @@ void st_init_extensions(struct st_context *st) if (screen->get_param(screen, PIPE_CAP_GEOMETRY_SHADER4)) { ctx->Extensions.ARB_geometry_shader4 = GL_TRUE; } + + if (screen->get_param(screen, PIPE_CAP_DEPTH_CLAMP)) { + ctx->Extensions.ARB_depth_clamp = GL_TRUE; + } } |