开发者

Android viewport size

开发者 https://www.devze.com 2023-04-13 01:00 出处:网络
I\'m new to developing Android APPs. I managed to compile my first OpenGL Application, but encountered a little problem.

I'm new to developing Android APPs.

I managed to compile my first OpenGL Application, but encountered a little problem.

First, my current code can b开发者_如何学Goe found here: https://gist.github.com/1281394

When I start the application, the viewport has the size of this green rectangle as seen in the following screenshot:

Android viewport size

I need a way to specify the size of the drawable space, since I want to draw elements on the entire screen.

I'd appreciate every hint :)

Many thanks in advance, Jakob


Take a look at these [NeHe] tutorials. They are a fantastic reference for starting OpenGL

0

精彩评论

暂无评论...
验证码 换一张
取 消