VirtualBox

Ignore:
Timestamp:
Aug 11, 2009 10:36:56 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50929
Message:

crOpenGL: add GL_EXT_framebuffer_object support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp

    r21990 r22155  
    7070
    7171static const char* gszVBoxOGLSSMMagic = "***OpenGL state data***";
    72 #define SHCROGL_SSM_VERSION 4
     72#define SHCROGL_SSM_VERSION 5
    7373
    7474typedef struct
     
    208208    AssertRCReturn(rc, rc);
    209209    if ((SHCROGL_SSM_VERSION != ui32)
    210         && (3 != ui32))
    211         return VERR_SSM_UNSUPPORTED_DATA_UNIT_VERSION;
     210        && ((SHCROGL_SSM_VERSION!=4) || (3!=ui32)))
     211    {
     212        /*@todo: add some warning here*/
     213        /*@todo: in many cases saved states would be made without any opengl guest app running.
     214         *       that means we could safely restore the default context.
     215         */
     216        rc = SSMR3SkipToEndOfUnit(pSSM);
     217        return rc;
     218    }
    212219
    213220    /* The state itself */
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