|
From: | David Squire |
Subject: | Re: [help-GIFT] hard-coding MAX_WIDTH and MAX_HEIGHT (was: patch-fu) |
Date: | Thu, 17 Aug 2006 16:21:08 +0100 |
User-agent: | Thunderbird 1.5.0.5 (Macintosh/20060719) |
address@hidden wrote:
That would be a whole lot nicer than using 65536 :). Then you can do your static compile time memory allocation, but still pass width and height parameters into the routines to determine how much of this buffer gets used.Agreed. howabout in my next set of patches, i apply something that createsa MAX_WIDTH and MAX_HEIGHT define, that we use for spots that "need" a hard coded value at compile time, and continue to use width and heightfor things that dont require hard coding?
Cheers, David -- Dr David McG. Squire, Senior Lecturer, on sabbatical in 2006 Caulfield School of Information Technology, Monash University, Australia CRICOS Provider No. 00008C http://www.csse.monash.edu.au/~davids/
[Prev in Thread] | Current Thread | [Next in Thread] |