On Sat Jan 21, 2012, Harri Smått wrote:
> On Jan 21, 2012, at 7:43 PM, Thomas Fjellstrom wrote:
> > On Sat Jan 21, 2012, ScheffsBlend wrote:
> >>> I can't figure out what I'm doing wrong.
> >> 
> >> I think it might have to do with the colors you are using. You clear
> >> the screen with (0,0,0,1) and you draw with Colorado (0,0,0,1).
> >> Things may be working right, but you just can't see them.
> > 
> > onDrawFrame is clearing to 1,1,1,1, and the rect is drawing 0,0,0,1, so
> > it should be ok.
> 
> GL10.glOrthox(..), you use for creating projection matrix, takes 16.16
> fixed point values as parameters. Try using GL10.glOrthof(..) instead.

Thats what I get for not reading the documentation closely. Crud. Thanks for 
that.

And indeed, that was the problem. it works fine now. double thanks :)

> --
> H


-- 
Thomas Fjellstrom
[email protected]

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to