• MorphOS Developer
    kiero
    Posts: 129 from 2003/2/28
    Quote:

    thellier wrote:


    Crash happen in glAInitializeContextBitMap(bm)
    But TinyGL is ok as glGetString(GL_VENDOR)); works
    and the bitmap bm from WaRp3D (seems) to be ok as WaZp3D can detect bitmap size & format



    First of all enable tinygl debug. You can do it with setenv save TGLDEBUG 1. Then please post a log here (together with stacktrace). Another thing with GLA context which you have to take special care with is not to delete rendering target before deleting GLA context. So if You have a context for a bit then be really careful to do it like this:

    allocbitmap
    initializecontext (please use tagged glAInitializeContext instead of glAInitializeContextBitMap as that one is deprecated)
    ...rendering...
    glaDestroyContext
    freebitmap

    Michal 'kiero' Wozniak
  • »18.11.13 - 20:32
    Profile Visit Website