openvg/openvgrefimplementation/sfopenvg/test/src/tiger.cpp
branchEGL_MERGE
changeset 72 360f71440b77
parent 6 250ac10a3d98
equal deleted inserted replaced
60:013f1c757b1e 72:360f71440b77
    89 // Initializes OpenGL ES, sets the vertex and color arrays and pointers,
    89 // Initializes OpenGL ES, sets the vertex and color arrays and pointers,
    90 // and selects the shading mode.
    90 // and selects the shading mode.
    91 // -----------------------------------------------------------------------------
    91 // -----------------------------------------------------------------------------
    92 //
    92 //
    93 
    93 
    94 void CTiger::AppInit(RWindow& /*aWindow*/, CFbsBitmap* aBitmapToDraw)
    94 void CTiger::AppInit(RWindow& aWindow, CFbsBitmap* aBitmapToDraw)
    95 	{
    95 	{
    96 	// Initialize viewport and projection.
    96 	// Initialize viewport and projection.
    97 	SetScreenSize(iScreenWidth, iScreenHeight);
    97 	SetScreenSize(iScreenWidth, iScreenHeight);
    98 	//render into half-screen dimensions 
    98 	//render into half-screen dimensions 
    99 	iNativeWindowType.iSize = TSize(iScreenWidth, iScreenHeight);
    99 	iNativeWindowType.iSize = TSize(iScreenWidth, iScreenHeight);