FreeBSD Bugzilla – Attachment 78319 Details for
Bug 112668
[ports][Xorg7.2][graphics/mesa-demos] Broken for non-nvidia drivers.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.27 KB, created by
Dominic Fandrey
on 2007-05-14 22:10:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dominic Fandrey
Created:
2007-05-14 22:10:03 UTC
Size:
1.27 KB
patch
obsolete
>diff -Pur graphics/mesa-demos.orig/Makefile graphics/mesa-demos/Makefile >--- graphics/mesa-demos.orig/Makefile Mon May 14 08:08:47 2007 >+++ graphics/mesa-demos/Makefile Mon May 14 08:10:43 2007 >@@ -97,8 +97,6 @@ > > .if defined(WITH_NVIDIA_GL) > CFLAGS+= -DWITH_NVIDIA_GL=1 >-.else >-CFLAGS+= -DWITH_NVIDIA_GL=0 > .endif > > .include <bsd.port.post.mk> >diff -Pur graphics/mesa-demos.orig/files/patch-progs-xdemos-yuvrect_client.c graphics/mesa-demos/files/patch-progs-xdemos-yuvrect_client.c >--- graphics/mesa-demos.orig/files/patch-progs-xdemos-yuvrect_client.c Mon May 14 08:08:47 2007 >+++ graphics/mesa-demos/files/patch-progs-xdemos-yuvrect_client.c Mon May 14 08:09:29 2007 >@@ -7,7 +7,7 @@ > - glx_memory = glXAllocateMemoryMESA(dpy, screen, ImgWidth * ImgHeight * 2, 0, 0 ,0); > + #ifdef WITH_NVIDIA_GL > + glx_memory = glXAllocateMemoryNV(ImgWidth * ImgHeight * 2, 0, 0 ,0); >-+ #elif >++ #else > + glx_memory = glXAllocateMemoryMESA(dpy, screen, ImgWidth * ImgHeight * 2, 0, 0 ,0); > + #endif > if (!glx_memory) >@@ -20,7 +20,7 @@ > - glXFreeMemoryMESA(dpy, DefaultScreen(dpy), glx_memory); > + #ifdef WITH_NVIDIA_GL > + glXFreeMemoryNV(glx_memory); >-+ #elif >++ #else > + glXFreeMemoryMESA(dpy, DefaultScreen(dpy), glx_memory); > + #endif > glXDestroyContext(dpy, ctx);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 112668
: 78319