border_clamp

This commit is contained in:
David Rose 2009-04-24 23:34:53 +00:00
parent 189dacff0d
commit 37a5fdf2f3
1 changed files with 1 additions and 1 deletions

View File

@ -1018,7 +1018,7 @@ reset() {
_edge_clamp = GL_CLAMP_TO_EDGE;
}
_border_clamp = GL_CLAMP;
_border_clamp = _edge_clamp;
if (CLP(support_clamp_to_border) &&
(has_extension("GL_ARB_texture_border_clamp") ||
is_at_least_version(1, 3))) {