Re: [AD] os x / ppc / 10.4 : symbol not found

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, Apr 14, 2010 at 8:36 PM, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> On 14 Apr 2010, at 17:37 , Evert Glebbeek wrote:
>>> dyld: Symbol not found: _CGLGetPixelFormat
>>> Referenced from: /Users/matthew/Desktop/4.9/build/lib/liballegro.4.9.dylib
>>> Expected in: flat namespace
>>>
>>> Trace/BPT trap
>>
>> Don't know about these yet. It may be something similar.
>
> Well, fairly obvious really. That function is also 10.5+, but it's not obvious how to work around it.
> Since the functionality there is not critical (I think; the OS X port has worked fine without that function properly implemented for a long time) I'm going to put in a stub so the code should at least run on Tiger, then worry about a proper implementation later.
>

The colors do not work properly. From what I can tell by brief
observations from drawing a filled rectangle:

R = R
G = MIN(R, B)
B = MIN(R, G)
A = A

So the green and blue are switched AND they are clipped to red's
value. e.g., Red 0.5 and green 1 actually gives you red 0.5 and blue
0.5.

But maybe this is a problem with the graphics primitives?

--
Matthew Leverton




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/