SDL2 sources, progress and ports
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 554 from 2004/4/15
    Hi,

    I reworked the code a little bit and now I got the gol stuff working on MorphOs too (not using the VBO stuff
    anymore).
    But now I am facon the next problem: all images which are using alpha channel (like the character) are
    not visible anymore. On Linux, Windows, AOS4 everything is fine.
    Sadly I did not had the time to have a deeper look into it.
    Here is a screenshot of the problem:
    ermentrud_ogl_alplha_error.pnghttps://exdev.selfhost.eu/mos/ermentrud_ogl_alplha_error.png
    regards
    eliot
  • »10.09.21 - 07:07
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    beworld
    Posts: 466 from 2010/2/10
    From: FRANCE
    hi,

    You use alpha with OpenGL renderer... no chance... it's a big bug of SDL2 now....

    in SDL2 readme :

    KNOW BUGS:
    *************

    - SDL_CreateRenderer with SDL_RENDERER_ACCELERATED is broken if you use SDL_BLENDMODE or
    tranparency color with OpenGL renderer, you need to use SDL_RENDERER_SOFTWARE.
    Dont ask me to fix that, i dont have any information on it, maybe fix on next release of MorphOS (3.16)..)
    IMac G5 2.1,PowerMac 2.7,PowerBook 1.5
    My MOS ports
  • »10.09.21 - 09:12
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 554 from 2004/4/15
    Yes, this should not be a bug in SDL2, because it's working fine on other platforms.

    EDIT: So no OGL support on mos for now, but neverstheless, it's mostly done:
    ermentrud_mos.png

    [ Edited by eliot 10.09.2021 - 13:04 ]
    regards
    eliot
  • »10.09.21 - 10:08
    Profile