VirtualBox

vbox的更動 69040 路徑 trunk/src/VBox


忽略:
時間撮記:
2017-10-11 下午03:37:05 (7 年 以前)
作者:
vboxsync
訊息:

Additions/common/crOpenGL: fix a double const declaration.
bugref:8192: gcc warnings

Recent gcc versions (7.0 and later?) do not like seeing const used twice in a
parameter declaration. Fix this once in Additions/common/crOpenGL/glx.c and
dri_glx.h.

位置:
trunk/src/VBox/Additions/common/crOpenGL
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/common/crOpenGL/dri_glx.h

    r62521 r69040  
    135135extern DECLEXPORT(GLXFBConfig *) VBOXGLXTAG(glXChooseFBConfig)(Display *dpy, int screen, ATTRIB_TYPE *attrib_list, int *nelements);
    136136extern DECLEXPORT(GLXPbuffer) VBOXGLXTAG(glXCreatePbuffer)(Display *dpy, GLXFBConfig config, ATTRIB_TYPE *attrib_list);
    137 extern DECLEXPORT(GLXPixmap) VBOXGLXTAG(glXCreatePixmap)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const ATTRIB_TYPE *attrib_list);
     137extern DECLEXPORT(GLXPixmap) VBOXGLXTAG(glXCreatePixmap)(Display *dpy, GLXFBConfig config, Pixmap pixmap, ATTRIB_TYPE *attrib_list);
    138138extern DECLEXPORT(GLXWindow) VBOXGLXTAG(glXCreateWindow)(Display *dpy, GLXFBConfig config, Window win, ATTRIB_TYPE *attrib_list);
    139139extern DECLEXPORT(GLXContext) VBOXGLXTAG(glXCreateNewContext)
  • trunk/src/VBox/Additions/common/crOpenGL/glx.c

    r65791 r69040  
    10011001 */
    10021002DECLEXPORT(GLXPixmap)
    1003 VBOXGLXTAG(glXCreatePixmap)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const ATTRIB_TYPE *attrib_list)
     1003VBOXGLXTAG(glXCreatePixmap)(Display *dpy, GLXFBConfig config, Pixmap pixmap, ATTRIB_TYPE *attrib_list)
    10041004{
    10051005    ATTRIB_TYPE *attrib;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette