Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=6430
Summary: glslnoise errors
Product: Mesa
Version: CVS
Platform: Other
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: Demos
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
The glslnoise demo uses wglGetProcAddress directly and the Makefile has an
error. Inlined is patch that fixes the problem:
Index: Makefile
===================================================================
RCS file: /cvs/mesa/Mesa/progs/demos/Makefile,v
retrieving revision 1.16
diff -r1.16 Makefile
33c33
< glslnoise.c \
---
> glslnoise \
Index: glslnoise.c
===================================================================
RCS file: /cvs/mesa/Mesa/progs/demos/glslnoise.c,v
retrieving revision 1.2
diff -r1.2 glslnoise.c
127,133c127,133
< glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)
wglGetProcAddress
("glCreateShaderObjectARB");
< glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC) wglGetProcAddress
("glShaderSourceARB");
< glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC) wglGetProcAddress
("glCompileShaderARB");
< glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)
wglGetProcAddress ("glCreateProgramObjectARB");
< glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC) wglGetProcAddress
("glAttachObjectARB");
< glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC) wglGetProcAddress
("glLinkProgramARB");
< glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC) wglGetProcAddress
("glUseProgramObjectARB");
---
> glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)
> GETPROCADDRESS
("glCreateShaderObjectARB");
> glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC) GETPROCADDRESS
("glShaderSourceARB");
> glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC) GETPROCADDRESS
("glCompileShaderARB");
> glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)
> GETPROCADDRESS
("glCreateProgramObjectARB");
> glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC) GETPROCADDRESS
("glAttachObjectARB");
> glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC) GETPROCADDRESS
> ("glLinkProgramARB");
> glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC) GETPROCADDRESS
("glUseProgramObjectARB");
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev