OpenGL ES 2/3 vs OpenGL 3 (and 4)

Posted by Martin Perry on Game Development See other posts from Game Development or by Martin Perry
Published on 2013-10-24T09:26:48Z Indexed on 2013/10/24 10:15 UTC
Read the original article Hit count: 1134

Filed under:
|

I have migrated my code from OpenGL ES 2/3 to OpenGL 3 (I added bunch of defines and abstract classes to encapsulate both versions, so I have both in one project and compile only one or another). All I need to change was context initialization and glClearDepth. I dont have any errors. This was kind of strange to me. Even shaders are working correctly (some of them are GL ES 3 - with #version 300 es in their header)

Is this a kind of good solution, or should I rewrite something more, before I start adding another functionality like geometry shaders, performance tools etc ?

© Game Development or respective owner

Related posts about opengl

Related posts about opengl-es