[meego-commits] 24878: Changes to MeeGo:1.2:oss/SDL
danming
no_reply at build.meego.com
Thu May 10 04:40:28 UTC 2012
Hi,
I have made the following changes to SDL in project MeeGo:1.2:oss. Please review and accept ASAP.
Thank You,
danming
[This message was auto-generated]
---
Request #24878:
submit: home:danming:branches:MeeGo:1.2:oss/SDL(r2)(cleanup) -> MeeGo:1.2:oss/SDL
Message:
allow 32 bpp depth visual
State: new 2012-05-09T20:45:16 danming
Comment: None
changes files:
--------------
--- SDL.changes
+++ SDL.changes
@@ -0,0 +1,3 @@
+* Thu May 10 Danming Xie <danming.xie at intel.com> -1.2.14
+- Allow 32 bit depth visual to be used.
+
new:
----
SDL-1.2.14-allow-32-depth-visual.patch
spec files:
-----------
--- SDL.spec
+++ SDL.spec
@@ -11,6 +11,7 @@
Patch30: SDL-1.2.13-rh484362.patch
Patch31: SDL-1.2.14-fix-joystick-crash.patch
Patch32: SDL-1.2.14-add-glXChooseFBConfig-for-X11_GL_Get.patch
+Patch33: SDL-1.2.14-allow-32-depth-visual.patch
URL: http://www.libsdl.org/
License: LGPLv2+
@@ -59,6 +60,7 @@
%patch30 -p1 -b .rh484362
%patch31 -p1 -b .fix-joystick-crash
%patch32 -p1 -b .add-glXChooseFBConfig-for-X11_GL_Get
+%patch33 -p1 -b .SDL-1.2.14-allow-32-depth-visual.patch
%build
aclocal
other changes:
--------------
++++++ SDL-1.2.14-allow-32-depth-visual.patch (new)
--- SDL-1.2.14-allow-32-depth-visual.patch
+++ SDL-1.2.14-allow-32-depth-visual.patch
+From 085032b204a87a64ccd5f001914d2701004ca5e1 Mon Sep 17 00:00:00 2001
+From: Danming Xie <danming.xie at intel.com>
+Date: Thu, 10 May 2012 11:17:15 +0800
+Subject: [PATCH] allow 32 depth visual
+
+
+Signed-off-by: Danming Xie <danming.xie at intel.com>
+---
+ src/video/x11/SDL_x11modes.c | 4 ----
+ 1 files changed, 0 insertions(+), 4 deletions(-)
+
+diff --git a/src/video/x11/SDL_x11modes.c b/src/video/x11/SDL_x11modes.c
+index c782699..3528b3f 100644
+--- a/src/video/x11/SDL_x11modes.c
++++ b/src/video/x11/SDL_x11modes.c
+@@ -794,11 +794,7 @@ int X11_GetVideoModes(_THIS)
+ #endif /* SDL_VIDEO_DRIVER_X11_XME */
+
+ {
+- /* It's interesting to note that if we allow 32 bit depths,
+- we get a visual with an alpha mask on composite servers.
+ static int depth_list[] = { 32, 24, 16, 15, 8 };
+- */
+- static int depth_list[] = { 24, 16, 15, 8 };
+ int j, np;
+ int use_directcolor = 1;
+ XPixmapFormatValues *pf;
+--
+1.7.4.1
+
More information about the MeeGo-commits
mailing list