[android-developers] Re: Basic GL Surface View example

2013-01-10 Thread Lew
bob wrote: Why does the Basic GL Surface View example make a call like this? GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_NEAREST); Doesn't the f in glTexParameterf imply that the last parameter is a float? Gee, I don't know. Let's look it up.

[android-developers] Re: Basic GL Surface View example

2013-01-10 Thread Lew
Lew wrote: bob wrote: Why does the Basic GL Surface View example make a call like this? GLES20.glTexParameterf(GLES20.GL_TEXTURE_2D, GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_NEAREST); Doesn't the f in glTexParameterf imply that the last parameter is a float? Gee, I don't know. Let's