VirtualBox

Ignore:
Timestamp:
Feb 18, 2013 5:02:47 PM (12 years ago)
Author:
vboxsync
Message:

crOpenGL: OSX backend rework; oddscreen rendering generalization

File:
1 edited

Legend:

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

    r44392 r44740  
    1313#include "cr_mem.h"
    1414#include "cr_hash.h"
     15#include "cr_vreg.h"
    1516#include "cr_environment.h"
    1617#include "cr_pixeldata.h"
     
    198199
    199200    crNetTearDown();
     201
     202    VBoxVrTerm();
    200203}
    201204
     
    243246    char *mothership = NULL;
    244247    CRMuralInfo *defaultMural;
     248    int rc = VBoxVrInit();
     249    if (!RT_SUCCESS(rc))
     250    {
     251        crWarning("VBoxVrInit failed, rc %d", rc);
     252        return;
     253    }
    245254
    246255    for (i = 1 ; i < argc ; i++)
     
    349358{
    350359    CRMuralInfo *defaultMural;
     360
     361    int rc = VBoxVrInit();
     362    if (!RT_SUCCESS(rc))
     363    {
     364        crWarning("VBoxVrInit failed, rc %d", rc);
     365        return GL_FALSE;
     366    }
    351367
    352368#if DEBUG_FP_EXCEPTIONS
     
    10071023    else
    10081024    {
    1009         CR_BLITTER_TEXTURE Tex;
     1025        VBOXVR_TEXTURE Tex;
    10101026        void *pvData;
    10111027        GLuint idPBO = cr_server.bUsePBOForReadback ? pMural->idPBO : 0;
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