Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 336678 Details for
Bug 452262
=games-fps/doomsday-1.9.10 : Version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
doomsday-1.9.10-driver_openal.cpp.patch
doomsday-1.9.10-driver_openal.cpp.patch (text/plain), 935 bytes, created by
Patrick McMunn
on 2013-01-24 01:47:38 UTC
(
hide
)
Description:
doomsday-1.9.10-driver_openal.cpp.patch
Filename:
MIME Type:
Creator:
Patrick McMunn
Created:
2013-01-24 01:47:38 UTC
Size:
935 bytes
patch
obsolete
>diff -rupN a/doomsday/plugins/openal/src/driver_openal.cpp b/doomsday/plugins/openal/src/driver_openal.cpp >--- a/doomsday/plugins/openal/src/driver_openal.cpp 2012-12-28 01:04:26.459230049 -0600 >+++ b/doomsday/plugins/openal/src/driver_openal.cpp 2012-12-30 11:54:41.573054106 -0600 >@@ -56,8 +56,8 @@ > > #define PI 3.141592654 > >-#define SRC(buf) ((ALuint)buf->ptr3D) >-#define BUF(buf) ((ALuint)buf->ptr) >+#define SRC(buf) ( (ALuint) PTR2INT(buf->ptr3D) ) >+#define BUF(buf) ( (ALuint) PTR2INT(buf->ptr) ) > > //enum { VX, VY, VZ }; > >@@ -233,8 +233,8 @@ sfxbuffer_t* DS_SFX_CreateBuffer(int fla > // Create the buffer object. > buf = static_cast<sfxbuffer_t*>(Z_Calloc(sizeof(*buf), PU_APPSTATIC, 0)); > >- buf->ptr = (void*) bufName; >- buf->ptr3D = (void*) srcName; >+ buf->ptr = INT2PTR(void, bufName); >+ buf->ptr3D = INT2PTR(void, srcName); > buf->bytes = bits / 8; > buf->rate = rate; > buf->flags = flags;
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 452262
:
336676
| 336678 |
336680
|
336682
|
336824
|
336850
|
336868
|
336870
|
338126