static float red = 1.0;
//--------------------------------//
-// a helper funtion to load shaders from a shader source
+// a helper function to load shaders from a shader source
static GLuint
load_shader( GLData *gld, GLenum type, const char *shader_src )
{
// buffering.
elm_glview_mode_set(gl, ELM_GLVIEW_ALPHA | ELM_GLVIEW_DEPTH);
// resize policy tells glview what to do with the surface when it
- // reisizes. ELM_GLVIEW_RESIZE_POLICY_RECREATE will tell it to
+ // resizes. ELM_GLVIEW_RESIZE_POLICY_RECREATE will tell it to
// destroy the current surface and recreate it to the new size
elm_glview_resize_policy_set(gl, ELM_GLVIEW_RESIZE_POLICY_RECREATE);
- // render poicy tells glview how it would like glview to render
+ // render policy tells glview how it would like glview to render
// gl code. ELM_GLVIEW_RENDER_POLICY_ON_DEMAND will have the gl
// calls called in the pixel_get callback, which only gets called
// if the object is visible, hence ON_DEMAND. ALWAYS mode renders
* @param func The init function to be registered.
*
* The registered init function gets called once during the render loop.
- * This function allows glview to hide all the redering context/surface
+ * This function allows glview to hide all the rendering context/surface
* details and have the user just call GL calls that they desire
* for initialization GL calls.
*
* @param func The delete function to be registered.
*
* The registered del function gets called when GLView object is deleted.
- * This function allows glview to hide all the redering context/surface
+ * This function allows glview to hide all the rendering context/surface
* details and have the user just call GL calls that they desire
- * when delete happends.
+ * when delete happens.
*
* @ingroup GLView
*/
* @param obj The glview object.
* @param func The resize function to be registered.
*
- * The resize function getes called during the render loop.
- * This function allows glview to hide all the redering context/surface
+ * The resize function gets called during the render loop.
+ * This function allows glview to hide all the rendering context/surface
* details and have the user just call GL calls that they desire
- * when resize happends.
+ * when resize happens.
*
* @ingroup GLView
*/