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. http://developer.android.com/reference/android/opengl/GLES20.html#glTexParameterf(int, int, float) Yep. > > But, it is an int: > > public static final int GL_NEAREST = 0x2600; > So? What is your question? http://docs.oracle.com/javase/specs/jls/se7/html/jls-5.html#jls-5.1.2 -- Lew -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en