if (yagl_get_host_gl_version() > yagl_gl_2) {
ctx->packed_depth_stencil = 1;
- ctx->texture_rectangle = 1;
} else {
ctx->packed_depth_stencil = (strstr(extensions, "GL_EXT_packed_depth_stencil ") != NULL);
-
- ctx->texture_rectangle = (strstr(extensions, "GL_NV_texture_rectangle ") != NULL) ||
- (strstr(extensions, "GL_EXT_texture_rectangle ") != NULL) ||
- (strstr(extensions, "GL_ARB_texture_rectangle ") != NULL);
}
ctx->texture_npot = 1;
static const GLchar *egl_sync_ext = "GL_OES_EGL_sync";
static const GLchar *packed_depth_stencil_ext = "GL_OES_packed_depth_stencil";
static const GLchar *texture_npot_ext = "GL_OES_texture_npot";
-static const GLchar *texture_rectangle_ext = "GL_ARB_texture_rectangle";
static const GLchar *texture_filter_anisotropic_ext = "GL_EXT_texture_filter_anisotropic";
static const GLchar *vertex_array_object_ext = "GL_OES_vertex_array_object";
static const GLchar *texture_half_float_ext = "GL_OES_texture_half_float";
extensions[i++] = texture_npot_ext;
}
- if (ctx->base.texture_rectangle) {
- extensions[i++] = texture_rectangle_ext;
- }
-
if (ctx->base.texture_filter_anisotropic) {
extensions[i++] = texture_filter_anisotropic_ext;
}