VirtualBox

Ignore:
Timestamp:
Sep 2, 2019 11:38:56 AM (5 years ago)
Author:
vboxsync
Message:

Devices/Graphics/shaderlib: print OpenGL shader compiler messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/shaderlib/glsl_shader.c

    r80515 r80547  
    340340    WDLOG(("    GL_OBJECT_COMPILE_STATUS_ARB: %d.\n", tmp));
    341341    WDLOG(("\n"));
     342
     343    if (tmp == 0)
     344    {
     345        /* Compilation error, print the compiler's error messages. */
     346        print_glsl_info_log(gl_info, shader);
     347    }
    342348
    343349    ptr = source;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette