summaryrefslogtreecommitdiff
path: root/src/glamor_vbo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glamor_vbo.c')
-rw-r--r--src/glamor_vbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glamor_vbo.c b/src/glamor_vbo.c
index 2cabca1..82f9ae4 100644
--- a/src/glamor_vbo.c
+++ b/src/glamor_vbo.c
@@ -54,7 +54,7 @@ glamor_get_vbo_space(ScreenPtr screen, int size, char **vbo_offset)
dispatch->glUnmapBuffer(GL_ARRAY_BUFFER);
if (size > glamor_priv->vbo_size) {
- glamor_priv->vbo_size = MAX(65536, size);
+ glamor_priv->vbo_size = MAX(256 * 1024, size);
/* We aren't allowed to resize glBufferStorage()
* buffers, so we need to gen a new one.