VirtualBox

Changeset 32247 in vbox for trunk


Ignore:
Timestamp:
Sep 6, 2010 12:11:29 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65574
Message:

crOGL: gcc warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_misc.c

    r32240 r32247  
    287287        if (siHavePBO<0)
    288288        {
    289             const char *ext = gl->GetString(GL_EXTENSIONS);
     289            const char *ext = (const char*)gl->GetString(GL_EXTENSIONS);
    290290            siHavePBO = crStrstr(ext, "GL_ARB_pixel_buffer_object") ? 1:0;
    291291        }
     
    293293        if (siHaveFBO<0)
    294294        {
    295             const char *ext = gl->GetString(GL_EXTENSIONS);
     295            const char *ext = (const char*)gl->GetString(GL_EXTENSIONS);
    296296            siHaveFBO = crStrstr(ext, "GL_EXT_framebuffer_object") ? 1:0;
    297297        }
     
    307307        else if (siHaveFBO==1) /*@todo more states to set and restore here*/
    308308        {
    309             GLint tID, fboID;
     309            GLuint tID, fboID;
    310310            GLenum status;
    311311            CRContext *ctx = crStateGetCurrent();
     
    406406        else
    407407        {
    408             GLint pboId, dRow, sRow;
     408            GLuint pboId, dRow, sRow;
    409409            CRContext *ctx = crStateGetCurrent();
    410410
Note: See TracChangeset for help on using the changeset viewer.

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