Em Sex 11 Jul 2003 18:53, Alexandre Julliard escreveu:
ChangeSet ID: 8742 CVSROOT: /home/winehq/opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2003/07/11 16:53:26
Modified files: dlls/opengl32 : wgl.c
Log message: Lionel Ulmer lionel.ulmer@free.fr Check if 'GLX_ARB_get_proc_address' is supported before using glXGetProcAddressARB.
Patch: http://cvs.winehq.com/patch.py?root=/home/winehq/opt/cvs-commit&id=8742
Old revision New revision Changes Path 1.35 1.36 +9 -5 wine/dlls/opengl32/wgl.c
In my system, the last patch caused this warnings. Thank you.
make[2]: Entering directory `/home/mduarte/wine/dlls/d3d8' gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o basetexture.o basetexture.c In file included from d3d8_private.h:192, from basetexture.c:29: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from basetexture.c:29: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from basetexture.c:29: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from basetexture.c:29: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o cubetexture.o cubetexture.c In file included from d3d8_private.h:192, from cubetexture.c:29: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from cubetexture.c:29: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from cubetexture.c:29: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from cubetexture.c:29: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o d3d8_main.o d3d8_main.c In file included from d3d8_private.h:192, from d3d8_main.c:28: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from d3d8_main.c:28: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from d3d8_main.c:28: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from d3d8_main.c:28: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o device.o device.c In file included from d3d8_private.h:192, from device.c:36: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from device.c:36: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from device.c:36: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from device.c:36: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o directx.o directx.c In file included from d3d8_private.h:192, from directx.c:32: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from directx.c:32: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from directx.c:32: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from directx.c:32: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition directx.c: In function `IDirect3D8Impl_FillGLCaps': directx.c:779: warning: implicit declaration of function `glXGetProcAddressARB' gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o drawprim.o drawprim.c In file included from d3d8_private.h:192, from drawprim.c:34: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from drawprim.c:34: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from drawprim.c:34: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from drawprim.c:34: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o indexbuffer.o indexbuffer.c In file included from d3d8_private.h:192, from indexbuffer.c:29: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from indexbuffer.c:29: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from indexbuffer.c:29: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from indexbuffer.c:29: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o resource.o resource.c In file included from d3d8_private.h:192, from resource.c:29: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from resource.c:29: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from resource.c:29: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from resource.c:29: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o shader.o shader.c In file included from d3d8_private.h:192, from shader.c:31: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from shader.c:31: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from shader.c:31: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from shader.c:31: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o stateblock.o stateblock.c In file included from d3d8_private.h:192, from stateblock.c:31: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from stateblock.c:31: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from stateblock.c:31: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from stateblock.c:31: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o surface.o surface.c In file included from d3d8_private.h:192, from surface.c:33: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from surface.c:33: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from surface.c:33: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from surface.c:33: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o swapchain.o swapchain.c In file included from d3d8_private.h:192, from swapchain.c:29: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from swapchain.c:29: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from swapchain.c:29: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from swapchain.c:29: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o texture.o texture.c In file included from d3d8_private.h:192, from texture.c:29: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from texture.c:29: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from texture.c:29: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from texture.c:29: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o utils.o utils.c In file included from d3d8_private.h:192, from utils.c:34: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from utils.c:34: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from utils.c:34: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from utils.c:34: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o vertexbuffer.o vertexbuffer.c In file included from d3d8_private.h:192, from vertexbuffer.c:29: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from vertexbuffer.c:29: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from vertexbuffer.c:29: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from vertexbuffer.c:29: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o volume.o volume.c In file included from d3d8_private.h:192, from volume.c:32: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from volume.c:32: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from volume.c:32: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from volume.c:32: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o volumetexture.o volumetexture.c In file included from d3d8_private.h:192, from volumetexture.c:29: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from volumetexture.c:29: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from volumetexture.c:29: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from volumetexture.c:29: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__ -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o vshaderdeclaration.o vshaderdeclaration.c In file included from d3d8_private.h:192, from vshaderdeclaration.c:31: d3dcore_gl.h:129:1: warning: "GL_DOT3_RGB_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from vshaderdeclaration.c:31: /usr/include/GL/glext.h:462:1: warning: this is the location of the previous definition In file included from d3d8_private.h:192, from vshaderdeclaration.c:31: d3dcore_gl.h:130:1: warning: "GL_DOT3_RGBA_EXT" redefined In file included from /usr/include/GL/gl.h:2436, from d3d8_private.h:30, from vshaderdeclaration.c:31: /usr/include/GL/glext.h:464:1: warning: this is the location of the previous definition