robin++at++media.mit.edu
Thu, 15 Jun 95 12:11:19 -0400
i just recently called in with the same _pfDirtCheck problem, and
i was emailed the following solution:
>> There is a bug (mine) in 1.2 _pfDirtCheck which is almost
>> positively identified by the stack trace. An internal list is not
>> grown large enough when there a large number (> 1024) of
>> textures/texenvs/highlights/lights/fogs created.
>>
>> The workaround is the following:
>>
>> /* In the pipe initialization callback (where you open the window) */
>> extern long *pfCurState;
>>
>> pfCurState[1285] = 4096;
>> pfFree((void*) pfCurState[1286]);
>> pfCurState[1286] = (long) pfCalloc(4096, sizeof(long), NULL);
>>
>> If this still dumps, increase 4096 until it works.
>>
>> Note that 1.2.1 does not contain the fix.
>>
i was told that this would be added to the list of known bugs, but i
guess it hasn't been yet.
hope it works for you too.
robin
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:35 PDT