summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-03-27 00:38:36 +0200
committerTor Lillqvist <tml@iki.fi>2013-03-27 01:48:59 +0200
commitbaeccb02dabe525217593f9f575d36882c36be76 (patch)
tree5d95f6cdc6b8383b765b794583f7434c006aeee0 /vcl/headless
parent5ea1466c4f06737669bedbaa4ee608d6a6060bf9 (diff)
Bypass fields that are meaningless for iOS
Change-Id: I66acafc1f7302242a2a43271b909bba331062bce
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpframe.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index 8a234dfb1fdd..dfe96a004004 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -82,9 +82,11 @@ SvpSalFrame::SvpSalFrame( SvpSalInstance* pInstance,
// fast and easy cross-platform wiping of the data
memset( (void *)&m_aSystemChildData, 0, sizeof( SystemChildData ) );
m_aSystemChildData.nSize = sizeof( SystemChildData );
-#ifdef UNX
+#ifdef IOS
+ // Nothing
+#else
m_aSystemChildData.pSalFrame = this;
-#if defined(ANDROID) || defined(IOS)
+#ifdef ANDROID
// We want 32-bit RGBA bitmaps
m_aSystemChildData.nDepth = 32;
#else