RGBA->RGBA blit error

It seems there is a bug when blitting RGBA->RGBA.The final surface is
always blank.

Attached is the test application and the image used

Best Regards
Dimitris Zenios
-------------- next part --------------
A non-text attachment was scrubbed…
Name: dialog.png
Type: image/png
Size: 10017 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120201/51dc7852/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed…
Name: main.c
Type: text/x-csrc
Size: 3344 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120201/51dc7852/attachment.c

It seems there is a bug when blitting RGBA->RGBA.The final surface is
always blank.

Attached is the test application and the image used

Best Regards
Dimtiris Zenios
-------------- next part --------------
A non-text attachment was scrubbed…
Name: main.c
Type: text/x-csrc
Size: 3344 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120201/fcd3478f/attachment.c
-------------- next part --------------
A non-text attachment was scrubbed…
Name: dialog.png
Type: image/png
Size: 10017 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20120201/fcd3478f/attachment.png

I would just load and blit something in the middle of the screen to test
it. I don’t use png but the code seems odd to me. Is this nintendo ds
platform?On Wed, Feb 1, 2012 at 10:43 AM, Dimitris Zenios <dimitris.zenios at gmail.com>wrote:

It seems there is a bug when blitting RGBA->RGBA.The final surface is
always blank.

Attached is the test application and the image used

Best Regards
Dimitris Zenios


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

2012/2/6 R Manard :

I would just load and blit something in the middle of the screen to test it.
I don’t use png but the code seems odd to me. Is this nintendo ds platform?

It seems there is a bug when blitting RGBA->RGBA.The final surface is
always blank.

I replied to him here, http://bugzilla.libsdl.org/show_bug.cgi?id=1408

It looks like filling the surface with alpha=255 makes the image
appear (I as I think is expected).> On Wed, Feb 1, 2012 at 10:43 AM, Dimitris Zenios <dimitris.zenios at gmail.com> wrote:


Gabriel.

The message was posted before receiving your reply but arrived to the
mailing list 5 days after
SorryOn Mon, Feb 6, 2012 at 2:10 PM, Gabriel Jacobo wrote:

2012/2/6 R Manard :

I would just load and blit something in the middle of the screen to test it.
I don’t use png but the code seems odd to me. Is this nintendo ds platform?

On Wed, Feb 1, 2012 at 10:43 AM, Dimitris Zenios <@Dimitris_Zenios> wrote:

It seems there is a bug when blitting RGBA->RGBA.The final surface is
always blank.

I replied to him here, http://bugzilla.libsdl.org/show_bug.cgi?id=1408

It looks like filling the surface with alpha=255 makes the image
appear (I as I think is expected).


Gabriel.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

2012/2/6 Dimitris Zenios <dimitris.zenios at gmail.com>:

The message was posted before receiving your reply but arrived to the
mailing list 5 days after
Sorry

No problem! Do you think we can close that bug report?–
Gabriel.

YeapOn Mon, Feb 6, 2012 at 5:00 PM, Gabriel Jacobo wrote:

2012/2/6 Dimitris Zenios <@Dimitris_Zenios>:

The message was posted before receiving your reply but arrived to the
mailing list 5 days after
Sorry

No problem! Do you think we can close that bug report?


Gabriel.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org