[Bug 15033] intermittant crashes while playing bf1942
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Sep 3 17:54:22 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=15033
Roy Marples <roy at marples.name> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |roy at marples.name
--- Comment #10 from Roy Marples <roy at marples.name> 2008-09-03 17:54:21 ---
+ char pgmbuffer[SHADER_PGMSIZE];
- buffer.buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
SHADER_PGMSIZE);
+ buffer.buffer = (char *)&pgmbuffer;
That looks wrong
+ buffer.buffer = pgmbuffer;
Should be right
char *foo;
char foo[5];
The only difference between the two is that the former requires a malloc and
the latter is of a fixed size.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list