[virglrenderer-devel] [PATCH 10/21] features: use correct extensions for tbo size

Dave Airlie airlied at gmail.com
Tue Jul 24 03:39:02 UTC 2018


From: Dave Airlie <airlied at redhat.com>

---
 src/vrend_renderer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c
index d60790a..c5c7e0c 100644
--- a/src/vrend_renderer.c
+++ b/src/vrend_renderer.c
@@ -7709,7 +7709,7 @@ void vrend_renderer_fill_caps(uint32_t set, uint32_t version,
       caps->v1.max_dual_source_render_targets = max;
    }
 
-   if (epoxy_has_gl_extension("GL_ARB_texture_buffer_object")) {
+   if (has_feature(feat_arb_or_gles_ext_texture_buffer)) {
       glGetIntegerv(GL_MAX_TEXTURE_BUFFER_SIZE, &max);
       caps->v1.max_tbo_size = max;
    }
-- 
2.17.1



More information about the virglrenderer-devel mailing list