summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_GL.h
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2014-01-07 14:28:45 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2014-01-07 14:28:45 +0900
commitcb9dedd44dd3f89a169b3d35da72c758d31fc961 (patch)
treed8e324c97fe143bc9bb4ee2462e5566b7c18acf7 /src/lib/evas/Evas_GL.h
parent946a797e0d9675ff7cd73f208f56189e79abb7ea (diff)
fix typos in EFL documents
Diffstat (limited to 'src/lib/evas/Evas_GL.h')
-rw-r--r--src/lib/evas/Evas_GL.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/evas/Evas_GL.h b/src/lib/evas/Evas_GL.h
index 54bb1c0c9c..db3a1c6633 100644
--- a/src/lib/evas/Evas_GL.h
+++ b/src/lib/evas/Evas_GL.h
@@ -15,7 +15,7 @@ extern "C" {
15 * to use OpenGL to render to specially set up image objects (which act as 15 * to use OpenGL to render to specially set up image objects (which act as
16 * render target surfaces). 16 * render target surfaces).
17 * 17 *
18 * Below is an illlustrative example of how to use OpenGL to render to an 18 * Below is an illustrative example of how to use OpenGL to render to an
19 * object in Evas. 19 * object in Evas.
20 * 20 *
21 * @code 21 * @code
@@ -91,14 +91,14 @@ main(int argc, char **argv)
91 91
92 // set up the image object. a filled one by default 92 // set up the image object. a filled one by default
93 r1 = evas_object_image_filled_add(canvas); 93 r1 = evas_object_image_filled_add(canvas);
94 // attach important data we need to the object using key names. this just 94 // attach important data we need to the object using key names. This just
95 // avoids some global variables and means we can do nice cleanup. you can 95 // avoids some global variables and means we can do nice cleanup. You can
96 // avoid this if you are lazy 96 // avoid this if you are lazy
97 evas_object_data_set(r1, "..gld", gld); 97 evas_object_data_set(r1, "..gld", gld);
98 // when the object is deleted - call the on_del callback. like the above, 98 // when the object is deleted - call the on_del callback. like the above,
99 // this is just being clean 99 // this is just being clean
100 evas_object_event_callback_add(r1, EVAS_CALLBACK_DEL, on_del, NULL); 100 evas_object_event_callback_add(r1, EVAS_CALLBACK_DEL, on_del, NULL);
101 // set up an actual pixel size fot the buffer data. it may be different 101 // set up an actual pixel size fot the buffer data. It may be different
102 // to the output size. any windowing system has something like this, just 102 // to the output size. any windowing system has something like this, just
103 // evas has 2 sizes, a pixel size and the output object size 103 // evas has 2 sizes, a pixel size and the output object size
104 evas_object_image_size_set(r1, w, h); 104 evas_object_image_size_set(r1, w, h);
@@ -462,7 +462,7 @@ struct _Evas_GL_Config
462 * Creates a new Evas_GL object and returns a handle for gl rendering on efl. 462 * Creates a new Evas_GL object and returns a handle for gl rendering on efl.
463 * 463 *
464 * @param e The given evas canvas OpenGL is to be used on. 464 * @param e The given evas canvas OpenGL is to be used on.
465 * @return The created evas_gl object, or NULl on fasilure. 465 * @return The created evas_gl object, or NULL on failure.
466 */ 466 */
467EAPI Evas_GL *evas_gl_new (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1); 467EAPI Evas_GL *evas_gl_new (Evas *e) EINA_WARN_UNUSED_RESULT EINA_ARG_NONNULL(1);
468 468