[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/libepoxy][upstream-unstable] 3 commits: Post-release version bump to 1.5.9



Title: GitLab

Timo Aaltonen pushed to branch upstream-unstable at X Strike Force / lib / libepoxy

Commits:

2 changed files:

Changes:

  • meson.build
    1
    -project('libepoxy', 'c', version: '1.5.8',
    
    1
    +project('libepoxy', 'c', version: '1.5.9',
    
    2 2
             default_options: [
    
    3 3
               'buildtype=debugoptimized',
    
    4 4
               'c_std=gnu99',
    

  • src/dispatch_common.c
    ... ... @@ -670,13 +670,23 @@ epoxy_load_gl(void)
    670 670
         get_dlopen_handle(&api.gl_handle, OPENGL_LIB, true, true);
    
    671 671
     #else
    
    672 672
     
    
    673
    +    // Prefer GLX_LIB over OPENGL_LIB to maintain existing behavior.
    
    674
    +    // Using the inverse ordering OPENGL_LIB -> GLX_LIB, causes issues such as:
    
    675
    +    // https://github.com/anholt/libepoxy/issues/240 (apitrace missing calls)
    
    676
    +    // https://github.com/anholt/libepoxy/issues/252 (Xorg boot crash)
    
    677
    +    get_dlopen_handle(&api.glx_handle, GLX_LIB, false, true);
    
    678
    +    api.gl_handle = api.glx_handle;
    
    679
    +
    
    673 680
     #if defined(OPENGL_LIB)
    
    674 681
         if (!api.gl_handle)
    
    675
    -	get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false, true);
    
    682
    +        get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false, true);
    
    676 683
     #endif
    
    677 684
     
    
    678
    -    get_dlopen_handle(&api.glx_handle, GLX_LIB, true, true);
    
    679
    -    api.gl_handle = api.glx_handle;
    
    685
    +    if (!api.gl_handle) {
    
    686
    +        fprintf(stderr, "Couldn't open %s or %s\n", GLX_LIB, OPENGL_LIB);
    
    687
    +        abort();
    
    688
    +    }
    
    689
    +
    
    680 690
     #endif
    
    681 691
     }
    
    682 692
     
    


  • Reply to: