VirtualBox

Changeset 21830 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 28, 2009 11:28:19 AM (15 years ago)
Author:
vboxsync
Message:

crOpenGL: minor fix for gl_ext_draw_range_elements + remove hack from extensions string report

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_getstring.c

    r21317 r21830  
    7676    ext = crStateMergeExtensions(1, &extensions);
    7777
    78 #ifdef CR_OPENGL_VERSION_2_0
    79     /* @todo move to known extensions etc, for now just a hack.
    80      */
    81     {
    82         GLfloat fversion = GetVersionString();
    83         if (fversion>=2.f)
    84         {
    85             sprintf((char*)gpszExtensions, "%sGL_ARB_shading_language_100 GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_fragment_shader GL_EXT_texture_compression_s3tc GL_EXT_draw_range_elements", ext);
    86         }
    87     }
    88 #else
    8978    sprintf(gpszExtensions, "%s", ext);
    90 #endif
    9179
    9280    return gpszExtensions;
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