• Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    beworld
    Posts: 615 from 2010/2/10
    From: FRANCE
    Quote:

    anchor a écrit :
    For me FBO is not advertised with SDL2.
    - I updated TinyGL with TinyGL-Update-2024-09-29.lha
    - I calling tglEnableNewExtensions(0) after calling SDL_GL_CreateContext(), and before listing extensions.

    but EXT_framebuffer_object is not advertised.

    tinygl1.jpg

    tinygl2.jpg

    could anyone use FBO with SDL2?


    Have you update to last SDL2 ?

    No need to call tglEnableNewExtensions, SDL2 do it: https://github.com/BeWorld2018/SDL/blob/SDL-2.30.7-release/src/video/morphos/SDL_mosopengl.c#L178

    I think you need to force OpenGL 2.0 detection, i see "OpenGL 2.0 not available".. force that. tinygl send you OpenGL 1.2...

    After i need source to check and test
    IMac G5 2.1,PowerBook G4 1.5,MacMini 1.5, PowerMac G5 2.7 died !!!
    My MOS ports
  • »20.10.24 - 09:12
    Profile Visit Website