gosu 0.11.4.pre2 → 0.11.4.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gosu/Platform.hpp +1 -4
- data/ext/gosu/extconf.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94bfc8e22230e0613727dbc03a8bacbc3b39ccf2
|
4
|
+
data.tar.gz: 9a4b29f27d6d2ade8191ef50940693904d88028a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fd062fda171cb3a06a31abf9dcf97da32e02b2a5de57d251b3ddf1c2bc799d57cfbab7346cd36dcab84be0c49ce8eff3315dd6183e8a51c8ba2ea842b50636c
|
7
|
+
data.tar.gz: 403717d0b239a02e219328ef483884a72ce34841acc9c9c9f5e8b546109f35904ce2cae697ecda874c46803951d0bf209586212b196e50135f825041886d5606
|
data/Gosu/Platform.hpp
CHANGED
@@ -57,14 +57,11 @@ namespace Gosu
|
|
57
57
|
# include <TargetConditionals.h>
|
58
58
|
# if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
|
59
59
|
# define GOSU_IS_IPHONE
|
60
|
+
# define GOSU_IS_OPENGLES
|
60
61
|
# endif
|
61
62
|
# endif
|
62
63
|
#endif
|
63
64
|
|
64
|
-
#if defined (GOSU_IS_IPHONE) || defined(__arm__)
|
65
|
-
# define GOSU_IS_OPENGLES
|
66
|
-
#endif
|
67
|
-
|
68
65
|
#ifndef GOSU_DEPRECATED
|
69
66
|
# if defined(GOSU_IS_WIN)
|
70
67
|
# define GOSU_DEPRECATED __declspec(deprecated)
|
data/ext/gosu/extconf.rb
CHANGED
@@ -57,6 +57,8 @@ else
|
|
57
57
|
$INCFLAGS << " -I/opt/vc/include"
|
58
58
|
$LDFLAGS << " -L/opt/vc/lib"
|
59
59
|
$LDFLAGS << " -lGLESv1_CM"
|
60
|
+
$CFLAGS << " -DGOSU_IS_OPENGLES"
|
61
|
+
$CXXFLAGS << " -DGOSU_IS_OPENGLES"
|
60
62
|
else
|
61
63
|
pkg_config 'gl'
|
62
64
|
end
|
@@ -66,7 +68,7 @@ else
|
|
66
68
|
pkg_config 'vorbisfile'
|
67
69
|
pkg_config 'openal'
|
68
70
|
pkg_config 'sndfile'
|
69
|
-
pkg_config '
|
71
|
+
pkg_config 'libmpg123'
|
70
72
|
|
71
73
|
have_header 'SDL_ttf.h' if have_library('SDL2_ttf', 'TTF_RenderUTF8_Blended')
|
72
74
|
have_header 'AL/al.h' if have_library('openal')
|