• Show log

    Commit

  • Hash : ece8d2bb
    Author : Ryan C. Gordon
    Date : 2015-02-02T01:05:41

    X11: Fixes for OpenGL 3.0 and later context creation.
    
    - Don't create a temporary context first; this was probably due to Windows
    needing one to get the address of wglCreateContextAttribsARB(), but that's
    a unique quirk of WGL, and doesn't apply to glX. The glX spec explicitly says
    you have to get a function pointer that works with any context from
    glXGetProcAddress(), including when no context exists.
    
    - Properly check for the GLX_ARB_create_context instead of just looking for a
    non-NULL glXCreateContextAttribsARB()...some implementations, like Mesa,
    never return NULL for function lookups (Mesa returns pointers into a jump
    table that is filled out when the GL is initialized; since you can look up
    functions before you have a valid context, it can't definitely say a function
    isn't valid at that point).
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/SDL.git
    Git SSH git@git.kmx.io:kc3-lang/SDL.git
    Public access ? public
    Description

    Fork of https://github.com/libsdl-org/SDL

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags