Tizen fixes
This commit is contained in:
@@ -23,15 +23,17 @@
|
||||
#define ELOG(args...) __android_log_print(ANDROID_LOG_ERROR, "NME",args)
|
||||
|
||||
#elif defined(TIZEN)
|
||||
#include <FBase.h>
|
||||
|
||||
extern "C" __attribute__ ((visibility("default"))) void AppLogInternal(const char* pFunction, int lineNumber, const char* pFormat, ...);
|
||||
extern "C" __attribute__ ((visibility("default"))) void AppLogDebugInternal(const char* pFunction, int lineNumber, const char* pFormat, ...);
|
||||
|
||||
#ifdef VERBOSE
|
||||
#define VLOG(args...) AppLog(args)
|
||||
#define VLOG(...) AppLogInternal(__PRETTY_FUNCTION__, __LINE__, __VA_ARGS__)
|
||||
#else
|
||||
#define VLOG(args...)
|
||||
#define VLOG(...)
|
||||
#endif
|
||||
|
||||
#define ELOG(args...) AppLogDebug(args)
|
||||
#define ELOG(...) AppLogDebugInternal(__PRETTY_FUNCTION__, __LINE__, __VA_ARGS__)
|
||||
|
||||
#else
|
||||
|
||||
|
||||
@@ -22,14 +22,15 @@
|
||||
#elif defined(TIZEN)
|
||||
|
||||
//#include <osp/gl.h>
|
||||
//#include <FGraphicsOpengl.h>
|
||||
#include <FGraphicsOpengl2.h>
|
||||
#include <FGraphicsOpengl.h>
|
||||
//#include <FGraphicsOpengl2.h>
|
||||
|
||||
using namespace Tizen::Graphics::Opengl;
|
||||
|
||||
//#include <osp/gl2.h>
|
||||
#define ALLOW_OGL2
|
||||
//#define ALLOW_OGL2
|
||||
//#define NME_FORCE_GLES2
|
||||
#define NME_FORCE_GLES1
|
||||
#define NME_GLES
|
||||
|
||||
#elif defined(IPHONE)
|
||||
|
||||
Reference in New Issue
Block a user