projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15db8c0
)
glx/dri: use the implemented version of __DRIgetDrawableInfoExtension
author
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 12 Feb 2014 19:45:41 +0000
(19:45 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Sun, 23 Feb 2014 16:42:17 +0000
(16:42 +0000)
... over the one provided by the headers.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glx/dri_glx.c
patch
|
blob
|
history
diff --git
a/src/glx/dri_glx.c
b/src/glx/dri_glx.c
index 03ecc5b3b05bcb2f694d65e67522df770a44bc62..859375013f1739e2bff2dcd6dde525dcde4e500a 100644
(file)
--- a/
src/glx/dri_glx.c
+++ b/
src/glx/dri_glx.c
@@
-299,8
+299,9
@@
__glXDRIGetDrawableInfo(__DRIdrawable * drawable,
}
static const __DRIgetDrawableInfoExtension getDrawableInfoExtension = {
- {__DRI_GET_DRAWABLE_INFO, __DRI_GET_DRAWABLE_INFO_VERSION},
- __glXDRIGetDrawableInfo
+ .base = {__DRI_GET_DRAWABLE_INFO, 1 },
+
+ .getDrawableInfo = __glXDRIGetDrawableInfo
};
static const __DRIextension *loader_extensions[] = {