How to change auto scale drawing to origin top left? not center

Dear

I am developing a game with iOS compatible resources (320x480, 640x960 for hd).

It is working fine with iOS devices.

but on android platform, cocos2d-x is scaled drawing at the center.

So it gives empty(blank) on top and bottom. (as device 480x800)

I want to view drawing from on top left corner so there is only empty area on the bottom.

(on bottom for advertisement area)

I am trying to figuring out and tried to modify CCEGLView_android.cpp,

but not yet quite sure where I should modify.

Where should I modify to get right result?


adview_q.jpg (41.4 KB)