summaryrefslogtreecommitdiffstats
path: root/src/glx/dri3_priv.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-03-16 01:17:46 +0000
committerEmil Velikov <[email protected]>2014-04-28 19:13:37 +0100
commitecfe986120adb2c574cb03bea318eae96e564924 (patch)
tree0848f01dcdea17d32f9312c5a759d15bbd52315a /src/glx/dri3_priv.h
parent4be3874c97379b72f1129e7866ec6868610778a5 (diff)
glx/dri3: rework __DRIextension handling
Use a const array with the extensions, rather than assigning each one to a fixed size array at runtime. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/dri3_priv.h')
-rw-r--r--src/glx/dri3_priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri3_priv.h b/src/glx/dri3_priv.h
index 316e3131532..38463310570 100644
--- a/src/glx/dri3_priv.h
+++ b/src/glx/dri3_priv.h
@@ -106,7 +106,7 @@ struct dri3_display
{
__GLXDRIdisplay base;
- const __DRIextension *loader_extensions[8];
+ const __DRIextension **loader_extensions;
/* DRI3 bits */
int dri3Major;