11 Mar 2013, 11:43
Generic-user-small

Kelsey Roden (6 posts)

In this chapter when you create simple_fragment_shader.glsl the first line of code “precision mediump float;” seems to be mispelled according to the Eclipse IDE. I changed it to “precision mediump_foat float;” and that satisified Eclipse.

Great book by the way, I’m really getting into it and understanding how OpenGL-ES works.

11 Mar 2013, 12:46
Generic-user-small

Kelsey Roden (6 posts)

At the end of the chapter I found out that I needed to leave that “mediump” line alone and let eclipse underline it in red.

12 Mar 2013, 19:37
Generic-user-small

Kevin Brothaler (27 posts)

Hi Kelsey,

Thanks for the feedback! You can safely ignore that warning. I believe there’s a plugin out there that supports GLSL syntax and highlighting, but I haven’t tried it out myself.

  You must be logged in to comment