openvg/openvgrefimplementation/sfopenvg/vgi/vgi.cpp
branchNewGraphicsArchitecture
changeset 107 97c593d3e0a5
parent 104 2ae553ab1feb
child 170 c794569c62b8
--- a/openvg/openvgrefimplementation/sfopenvg/vgi/vgi.cpp	Thu Jul 01 13:26:34 2010 +0100
+++ b/openvg/openvgrefimplementation/sfopenvg/vgi/vgi.cpp	Fri Jul 02 18:24:10 2010 +0100
@@ -19,8 +19,14 @@
 #include <vg\vgcontext_symbian.h>
 #include <egl.h>
 
-#define MAX_WIDTH 		640*4 // in bytes
-#define MAX_HEIGHT 		480*4 // in bytes
+#ifdef __WINS__
+  #define MAX_WIDTH 		320*4 // in bytes
+  #define MAX_HEIGHT 		320*4 // in bytes
+#else
+  #define MAX_WIDTH 		640*4 // in bytes
+  #define MAX_HEIGHT 		480*4 // in bytes
+#endif
+
 class TEgl
 	{
 public: