c++ - opengles 3.0 draw disconnected line when i use GL_LINE_STRIP -


i use opengles 2.0 draw oscilloscope wave 500 sample per second when use gl_line_strip line draws disconnected if samples in straight line have noise. don't know problem if set threshold , set new samples bellow problem solve!!!

if(new_sample<threshold)    new_sample=previous_sample 

does 1 knows cause , solution! because using threshold produce invalid wave in manner?

i searched , find problem related diamond exit rule , may related board , gpu driver. don't know can fixed programmatically?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -