equal
deleted
inserted
replaced
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); |