mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
st/dri mv __driDriverExtensions to drisw.c and dri2.c
This commit is contained in:
parent
4b722bf9fd
commit
1fbfc22d85
3 changed files with 15 additions and 15 deletions
|
|
@ -338,14 +338,6 @@ const struct __DriverAPIRec driDriverAPI = {
|
|||
.CopySubBuffer = dri1_copy_sub_buffer,
|
||||
};
|
||||
|
||||
/* This is the table of extensions that the loader will dlsym() for. */
|
||||
PUBLIC const __DRIextension *__driDriverExtensions[] = {
|
||||
&driCoreExtension.base,
|
||||
&driLegacyExtension.base,
|
||||
&driDRI2Extension.base,
|
||||
NULL
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
const struct __DriverAPIRec driDriverAPI = {
|
||||
|
|
@ -361,13 +353,6 @@ const struct __DriverAPIRec driDriverAPI = {
|
|||
.SwapBuffers = drisw_swap_buffers,
|
||||
};
|
||||
|
||||
/* This is the table of extensions that the loader will dlsym() for. */
|
||||
PUBLIC const __DRIextension *__driDriverExtensions[] = {
|
||||
&driCoreExtension.base,
|
||||
&driSWRastExtension.base,
|
||||
NULL
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
/* vim: set sw=3 ts=8 sts=3 expandtab: */
|
||||
|
|
|
|||
|
|
@ -410,4 +410,12 @@ fail:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* This is the table of extensions that the loader will dlsym() for. */
|
||||
PUBLIC const __DRIextension *__driDriverExtensions[] = {
|
||||
&driCoreExtension.base,
|
||||
&driLegacyExtension.base,
|
||||
&driDRI2Extension.base,
|
||||
NULL
|
||||
};
|
||||
|
||||
/* vim: set sw=3 ts=8 sts=3 expandtab: */
|
||||
|
|
|
|||
|
|
@ -315,4 +315,11 @@ fail:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* This is the table of extensions that the loader will dlsym() for. */
|
||||
PUBLIC const __DRIextension *__driDriverExtensions[] = {
|
||||
&driCoreExtension.base,
|
||||
&driSWRastExtension.base,
|
||||
NULL
|
||||
};
|
||||
|
||||
/* vim: set sw=3 ts=8 sts=3 expandtab: */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue