[SDL] Layers

Max Countryman maxc at mac.com
Mon Aug 25 11:31:00 PDT 2003


I see!


On Monday, August 25, 2003, at 10:57  AM, Atrix Wolfe wrote:

> Max, you ever try painting?
>
> when you paint a square and then let it dry and paint a circle 
> partialy over
> the square, doesnt the circle apear over the square?
>
> This is the same reason when you draw one image after another, it 
> apears
> above the other image.
>
> ----- Original Message -----
> From: "Max Countryman" <maxc at mac.com>
> To: <sdl at libsdl.org>
> Sent: Monday, August 25, 2003 10:37 AM
> Subject: Re: [SDL] Layers
>
>
>> Ok, now I am really confused. No, I am running a double buffered main
>> surface. But what you are saying makes absolutely no sense at all! Why
>> should one image appear over the other? Where and how do you define
>> this??? As far as I can see, there is NO reason for one image to 
>> appear
>> over the other...
>>
>>
>> Max
>> On Sunday, August 24, 2003, at 11:09  PM, NBarnes wrote:
>>
>>>
>>> --- Max Countryman <maxc at mac.com> wrote:
>>>
>>>> Ok... I still don't understand why one image should appear above
>>>> another. Right now my two images are fighting to be on top of
>>>> one-another. Causing a horrible flicker. I thought that I should 
>>>> need
>>>> to somehow tell one image to be on top of the other...
>>>
>>>  That sounds like you might not be using a double buffered surface
>>> as your main display and then calling SDL_Flip(mainDisplay) to
>>> change the view.  Updating the surface when it's being displayed
>>> can cause effects like you describe.
>>>
>>>                                                            NBarnes
>>>
>>> __________________________________
>>> Do you Yahoo!?
>>> Yahoo! SiteBuilder - Free, easy-to-use web site design software
>>> http://sitebuilder.yahoo.com
>>>
>>> _______________________________________________
>>> SDL mailing list
>>> SDL at libsdl.org
>>> http://www.libsdl.org/mailman/listinfo/sdl
>>
>>
>> _______________________________________________
>> SDL mailing list
>> SDL at libsdl.org
>> http://www.libsdl.org/mailman/listinfo/sdl
>>
>
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl





More information about the SDL mailing list