From: Jacek Konieczny Date: Sat, 5 Dec 2015 19:01:48 +0000 (+0100) Subject: fix GLX support X-Git-Tag: auto/th/SDL2-2.0.3-3 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=cf76215ce4059c56d4436635f72d5143541a082e;p=packages%2FSDL2.git fix GLX support SDL2 would be compiled without GLX and would use only GL ES, which would often fail causing mysterious "cannot compile shader" errors in games. Release: 3 --- diff --git a/SDL2.spec b/SDL2.spec index b23ed57..2ce6040 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -55,7 +55,7 @@ Summary(pl.UTF-8): SDL (Simple DirectMedia Layer) - Biblioteka do gier/multimedi Summary(zh_CN.UTF-8): SDL (Simple DirectMedia Layer) Generic APIs - 游戏/多媒体库 Name: SDL2 Version: 2.0.3 -Release: 2 +Release: 3 License: Zlib (BSD-like) Group: Libraries Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz @@ -224,7 +224,7 @@ SDL - przykładowe programy. %{!?with_static_libs:--disable-static} \ %{!?with_directfb:--disable-video-directfb} \ %{?with_mir:--enable-video-mir} \ - --enable-video-opengl%{!?with_opengl:=no} \ + --enable-video-opengl%{!?with_gl:=no} \ --enable-video-opengles%{!?with_gles:=no} \ %{?with_wayland:--enable-video-wayland} \ --with-x