mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-23 02:50:40 +02:00
Disable GLX visuals code on !GLXEXT, and remove a useless prototype.
This commit is contained in:
parent
01e9cc858a
commit
2ec70aa701
1 changed files with 2 additions and 2 deletions
|
|
@ -46,8 +46,7 @@
|
|||
# define DRM_PAGE_SIZE 4096
|
||||
#endif
|
||||
|
||||
void XFree86DRIExtensionInit(void);
|
||||
|
||||
#ifdef GLXEXT
|
||||
/* Initialize the visual configs that are supported by the hardware.
|
||||
* These are combined with the visual configs that the indirect
|
||||
* rendering core supports, and the intersection is exported to the
|
||||
|
|
@ -212,6 +211,7 @@ static Bool ATIInitVisualConfigs(ScreenPtr pScreen)
|
|||
GlxSetVisualConfigs(numConfigs, pConfigs, (void**)pATIConfigPtrs);
|
||||
return TRUE;
|
||||
}
|
||||
#endif /* GLXEXT */
|
||||
|
||||
static void
|
||||
ATIDRIInitGARTValues(ScreenPtr pScreen)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue