summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-3d-cube2.c
diff options
context:
space:
mode:
authorBogdan Devichev <b.devichev@samsung.com>2015-02-20 17:59:27 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-02-20 18:37:03 +0100
commit4cd50a447fc3887fdcf0f8041beb360e3729c448 (patch)
tree69b45fdb7a0f311b064d4f6379f62092324c0edd /src/examples/evas/evas-3d-cube2.c
parentf377770cc16585ce0e6d7777f8e2090ca38dda21 (diff)
evas: resources for evas-2d examples are added to resource folder.
Summary: Process of loading is standard now. TODOs which are added here will be done in one of the next commits soon. Reviewers: cedric, Hermet, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2013 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/examples/evas/evas-3d-cube2.c')
-rw-r--r--src/examples/evas/evas-3d-cube2.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/examples/evas/evas-3d-cube2.c b/src/examples/evas/evas-3d-cube2.c
index 3009520..c0112d6 100644
--- a/src/examples/evas/evas-3d-cube2.c
+++ b/src/examples/evas/evas-3d-cube2.c
@@ -2,21 +2,20 @@
2#include "config.h" 2#include "config.h"
3#else 3#else
4#define PACKAGE_EXAMPLES_DIR "." 4#define PACKAGE_EXAMPLES_DIR "."
5#endif
6
7#define EFL_EO_API_SUPPORT 5#define EFL_EO_API_SUPPORT
8#define EFL_BETA_API_SUPPORT 6#define EFL_BETA_API_SUPPORT
7#endif
9 8
10#include <Eo.h> 9#include <Eo.h>
11#include <Evas.h> 10#include <Evas.h>
12#include <Ecore.h> 11#include <Ecore.h>
13#include <Ecore_Evas.h> 12#include <Ecore_Evas.h>
14#include "evas-3d-common.h" 13#include "evas-common.h"
15 14
16#define WIDTH 400 15#define WIDTH 400
17#define HEIGHT 400 16#define HEIGHT 400
18 17
19static const char *normal_map_path = PACKAGE_EXAMPLES_DIR EVAS_3D_IMAGE_FOLDER "/normal_lego.png"; 18static const char *normal_map_path = PACKAGE_EXAMPLES_DIR EVAS_IMAGE_FOLDER "/normal_lego.png";
20 19
21typedef struct _Scene_Data 20typedef struct _Scene_Data
22{ 21{