mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 22:20:06 +01:00
xquartz: Get rid of xstrdup when argument is definitely non-NULL
ditto for XQuartz Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
eea286f2b9
commit
416d228481
1 changed files with 6 additions and 6 deletions
|
|
@ -595,12 +595,12 @@ static __GLXscreen * __glXAquaScreenProbe(ScreenPtr pScreen) {
|
|||
|
||||
__glXScreenInit(&screen->base, pScreen);
|
||||
|
||||
screen->base.GLXversion = xstrdup("1.4");
|
||||
screen->base.GLXextensions = xstrdup("GLX_SGIX_fbconfig "
|
||||
"GLX_SGIS_multisample "
|
||||
"GLX_ARB_multisample "
|
||||
"GLX_EXT_visual_info "
|
||||
"GLX_EXT_import_context ");
|
||||
screen->base.GLXversion = strdup("1.4");
|
||||
screen->base.GLXextensions = strdup("GLX_SGIX_fbconfig "
|
||||
"GLX_SGIS_multisample "
|
||||
"GLX_ARB_multisample "
|
||||
"GLX_EXT_visual_info "
|
||||
"GLX_EXT_import_context ");
|
||||
|
||||
/*We may be able to add more GLXextensions at a later time. */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue