Bug in Apple's 'GLPaint' sample - dot always drawn before line - problem in touchesBegan/Moved/Ended

Posted by Adam on Stack Overflow See other posts from Stack Overflow or by Adam
Published on 2010-05-03T18:25:02Z Indexed on 2010/05/03 18:28 UTC
Read the original article Hit count: 278

Filed under:
|
|
|
|

I was just messing around with Apple's GLPaint sample app to learn more about OpenGL, and I noticed that whenever you draw a line, it's always preceded by a dot. Basically, it looks like:

.________

Does anyone know why this happens? I'm guessing it's some weirdness with touchesBegan/Moved/Ended, but I can't verify. It's been driving me crazy all morning!

© Stack Overflow or respective owner

Related posts about opengl

Related posts about iphone