• Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 565 from 2004/4/15
    Hi all,

    I just had a try to use new OpenGl feature together with Inga engine (Ermentrud).

    Sadly Timo is using one big texture where everything is rendered into:

    Code:

    prerenderTexture = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_RGBA8888, SDL_TEXTUREACCESS_TARGET, SCREEN_WIDTH, SCREEN_HEIGHT);
    ...
    SDL_SetRenderTarget(renderer, prerenderTexture);
    ....



    this seems currently not supported by SDL/OpenGl:
    SDL_CreateTexture: Render targets not supported by OpenGL

    Is there any chance to get this feature working on MorphOs port?
    It would really be nice to have the OpenGl renderer, because it's much faster than sw renderer.

    regards
    eliot
    regards
    eliot
  • »26.08.21 - 19:22
    Profile