I want use point sprite (OpenGLES Extension) API in Android NDK(r4). right here int att[] = {0,0,1}; glPointParameterxv( GL_POINT_DISTANCE_ATTENUATION, att );
But, doesn't work it.
I want use point sprite (OpenGLES Extension) API in Android NDK(r4). right here int att[] = {0,0,1}; glPointParameterxv( GL_POINT_DISTANCE_ATTENUATION, att );
But, doesn't work it.
Hi,
Functions suffixed with 'xv' and 'x' receives fixed-point data. You can try:
GLFixed[] att = {0, 0, 1 << 16};