egl/egltest/endpointtestsuite/automated/tsrc/egltest_endpointimagelifetime.cpp
changeset 136 62bb7c97884c
parent 98 bf7481649c98
equal deleted inserted replaced
121:d72fc2aace31 136:62bb7c97884c
    83     TInt result;
    83     TInt result;
    84     iResultOutQueue.ReceiveBlocking(result);
    84     iResultOutQueue.ReceiveBlocking(result);
    85 
    85 
    86     // Draw something.
    86     // Draw something.
    87     surface->DrawContentL(0);
    87     surface->DrawContentL(0);
    88     surface->SubmitContentL(EFalse);
    88     User::LeaveIfError(surface->SubmitContent(ETrue));
    89 
    89 
    90     if (result)
    90     if (result)
    91         {
    91         {
    92         User::Panic(_L("Expected Panic"), 1);
    92         User::Panic(_L("Expected Panic"), 1);
    93         }
    93         }