VirtualBox

Changeset 20182 in vbox


Ignore:
Timestamp:
Jun 2, 2009 10:15:21 AM (16 years ago)
Author:
vboxsync
Message:

crOpenGL: return GL_VESRION in proper format

File:
1 edited

Legend:

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

    r20083 r20182  
    8181    {
    8282        float version = GetVersionString();
    83         sprintf(ctx->glVersion, "%g Chromium %s", version, CR_VERSION_STRING);
     83        sprintf(ctx->glVersion, "%.1f Chromium %s", version, CR_VERSION_STRING);
    8484        return (const GLubyte *) ctx->glVersion;
    8585    }
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