vghwinterface/vghwapiwrapper/src/openvgapiwrapper.cpp
branchbug235_bringup_0
changeset 56 40cc73c24bf8
parent 53 c2ef9095503a
child 71 243bbc1d70db
equal deleted inserted replaced
55:09263774e342 56:40cc73c24bf8
  1659 int OpenVGAPIWrapper::WriteReply()
  1659 int OpenVGAPIWrapper::WriteReply()
  1660 {
  1660 {
  1661 #ifdef LOG_ERROR
  1661 #ifdef LOG_ERROR
  1662 	int operationid = (int)m_currentFunctionCall.Data().Header().iOpCode;
  1662 	int operationid = (int)m_currentFunctionCall.Data().Header().iOpCode;
  1663 	
  1663 	
  1664 	/*int vgerror*/VGErrorCode vgerror = ::vgPlatsimGetError();
  1664 	/*int vgerror*/VGErrorCode vgerror = ::vgSimulatorGetError();
  1665 	if ( m_lastVgError != vgerror )
  1665 	if ( m_lastVgError != vgerror )
  1666 	{
  1666 	{
  1667 		if ( VG_NO_ERROR != vgerror )
  1667 		if ( VG_NO_ERROR != vgerror )
  1668 		{
  1668 		{
  1669 			printf("OpenVG error 0x%X, for request %d\n", vgerror, operationid );
  1669 			printf("OpenVG error 0x%X, for request %d\n", vgerror, operationid );