Page 1 of 1

Problems with E2DSurfaceRGBA when EGL_USEGL is defined.

PostPosted: Feb 5, 2008 @ 9:41pm
by westenmi

PostPosted: Feb 6, 2008 @ 8:56am
by edge

PostPosted: Feb 6, 2008 @ 5:09pm
by westenmi

PostPosted: Feb 7, 2008 @ 9:35am
by edge
Hi,

Unfortunately, directly blitting RGBA surfaces is not part of the EDGELIB API at the moment, this will be added in the next release.

In the meantime you can use display->Perspective2D and display->BindTexture to set up your 2D viewport and set the correct texture. Then you can use a 2 textured triangles to 'blit' your HUD 2D pictures.

PostPosted: Mar 12, 2008 @ 12:58pm
by Zalo

PostPosted: Mar 14, 2008 @ 1:59pm
by edge
Hi Zalo,

It should be possible to blit your (colorkeyed) surfaces through the display in OpenGL. When you have a colorkeyed surface, you need to upload it as RGBA (it's an option of ClassEDisplay::UploadTexture).

Can you post your surface loading code?