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