VirtualBox

Changeset 50437 in vbox


Ignore:
Timestamp:
Feb 13, 2014 9:49:08 AM (11 years ago)
Author:
vboxsync
Message:

crOpenGL: disable unneeded host-side code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/net.c

    r42528 r50437  
    994994}
    995995
    996 
     996#ifdef IN_GUEST
    997997/**
    998998 * Called by the main receive function when we get a CR_MESSAGE_WRITEBACK
     
    10271027    crMemcpy( dest_ptr, ((char *)rb) + sizeof(*rb), payload_len );
    10281028}
    1029 
     1029#endif
    10301030
    10311031/**
     
    11071107            crError( "Can't handle read pixels" );
    11081108            return;
     1109#ifdef IN_GUEST
    11091110        case CR_MESSAGE_WRITEBACK:
    11101111            crNetRecvWriteback( &(pRealMsg->writeback) );
     
    11121113        case CR_MESSAGE_READBACK:
    11131114            crNetRecvReadback( &(pRealMsg->readback), len );
     1115#endif
    11141116            return;
    11151117        case CR_MESSAGE_CRUT:
     
    11291131                char string[128];
    11301132                crBytesToString( string, sizeof(string), msg, len );
    1131                 crError("crNetDefaultRecv: received a bad message: type=%d buf=[%s]\n"
     1133                WARN(("crNetDefaultRecv: received a bad message: type=%d buf=[%s]\n"
    11321134                                "Did you add a new message type and forget to tell "
    11331135                                "crNetDefaultRecv() about it?\n",
    1134                                 msg->header.type, string );
     1136                                msg->header.type, string ));
    11351137            }
    11361138    }
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