Vladimír Vondruš
f41321f930
MSVC 2015 compatibility: yet another {}-related bug.
...
Why am I intentionally doing this to myself?
11 years ago
Vladimír Vondruš
f2e20ba5c0
Math: default alpha parameter also for Color4::fromHSV().
...
Not sure why this was omitted.
11 years ago
Vladimír Vondruš
45e6985f25
SceneGraph: fix MSVC 2015 shadowing warnings.
11 years ago
Vladimír Vondruš
1965dffbbd
Text: prefix private member variables with underscore.
...
Fixes MSVC 2015 shadowing warning.
11 years ago
Vladimír Vondruš
1ad5f330b0
MeshTools: silence conversion warning on MSVC.
11 years ago
Vladimír Vondruš
127f34b657
Math: fix typedef shadowing.
11 years ago
Vladimír Vondruš
5391ab247e
Math/Algorithms: fix variable shadowing.
11 years ago
Vladimír Vondruš
8b6ff33476
DebugTools: prefix private member variables with underscore.
...
Fixes MSVC 2015 variable shadowing warnings. Fortunately no bug caused
by these.
11 years ago
Squareys
2e778f235b
package/ci: Write alsoft.ini
...
Configuration for OpenAL, which requires a null device to be used for
tests.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
2275544fa9
Audio: Expand Source test and fix bugs revealed in the process
...
Only minor copy past bugs introduced when implementing the getters.
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
c68e77e247
Audio: Add debug operator for Audio::Renderer::DistanceModel
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
65c6eb78e3
Audio: Expand RendererTest
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
badbc41b4e
Audio: Implement missing getters for Audio::Renderer
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Squareys
111f566f2f
Audio: Add remaining getters to Source
...
Signed-off-by: Squareys <Squareys@googlemail.com>
11 years ago
Vladimír Vondruš
03c8272aea
doc: updated MinGW-w64 building documentation.
11 years ago
Vladimír Vondruš
d7a922bfb5
Remove old std::u32string-related MinGW workarounds.
11 years ago
Vladimír Vondruš
e2c1ca1487
Remove old std::to_string()-related MinGW workarounds.
11 years ago
Vladimír Vondruš
d971d388c2
MagnumFont: at least some test for glyph cache creation.
...
Had to create some non-zero-size TGA file for it to pass.
11 years ago
Vladimír Vondruš
0df7b1b40d
Avoid ambiguous overloads when passing Containers::Array to BufferImage.
11 years ago
Vladimír Vondruš
b3f20e41fd
Passing nullptr data to BufferImage would assert anyway.
...
I can't think of any valid use case, so no problem when these are
producing deprecated warnings.
11 years ago
Vladimír Vondruš
0c086b631b
Fix OpenGL object label queries.
...
Passing 0 as bufSize to glGetObjectLabel() is not allowed by the spec
even when just querying the size, thus passing the maximum. Might
hopefully fix the label queries on AMD drivers.
11 years ago
Vladimír Vondruš
7230d47af8
magnum-distancefieldconverter: use AnyImageConverter by default.
11 years ago
Vladimír Vondruš
7c231ca5a5
package/ci: no need to specify SDL2 library explicitly anymore.
11 years ago
Vladimír Vondruš
2521c3d5d7
modules: support Windows release package by default.
11 years ago
Vladimír Vondruš
326d1d6a98
modules: FindSDL2.cmake cleanup.
11 years ago
Vladimír Vondruš
e7f2b41c95
Audio: use proper function.
...
Thanks, MSVC, for the warning!
11 years ago
Vladimír Vondruš
c341f74553
package/ci: minor cleanup.
11 years ago
Vladimír Vondruš
def6d89452
package/ci: this time for real, right?
11 years ago
Vladimír Vondruš
3e7e1bcccf
package/ci: so maybe this?
11 years ago
Vladimír Vondruš
0a451cba41
package/ci: ugh.
11 years ago
Vladimír Vondruš
2149468976
package/ci: we need OpenAL32.dll in PATH.
11 years ago
Vladimír Vondruš
d0ee6200f5
package/ci: try to build also Audio lib on AppVeyor.
11 years ago
Vladimír Vondruš
3b03d15009
Audio: provide access to plugin manager in AbstractImporter.
...
So it is possible to create also AnyAudioImporter.
11 years ago
Vladimír Vondruš
21fc790632
Trade: make AbstractImageConverter API non-const.
...
In the particular case of AnyImageConverter the function needs to access
manager and load/instantiate plugin using it, which is non-const
operation. More generally, it puts unnecessary restrictions on what the
plugin can and cannot do.
11 years ago
Vladimír Vondruš
199d086419
Trade: provide access to plugin manager in AbstractImageConverter.
...
Similarly to what is done in AbstractImporter, allows me to implement
AnyImageConverter plugin.
11 years ago
Vladimír Vondruš
2cbb57c6da
Trade: improve AbstractImageConverter API.
...
Provide a way to convert compressed images to data/file (i.e. saving
DXT5-compressed image data to DDS file), improve feature flags so that
the plugin can properly advertise what's supported (for example some
plugin may just be able to compress RGBA to DXT5, but not to save that to
DDS file).
This is backwards-incompatible API breakage (renamed enum value), but
because the original API wasn't in any official release yet, I'm not
doing any deprecation and backwards compatibility.
11 years ago
Vladimír Vondruš
e0b5d05b9f
Allow creating ImageView with nullptr data.
11 years ago
Vladimír Vondruš
0f7f2e0780
Verify that it's possible to create ImageView with nullptr data.
...
For example for old-style texture allocation using setImage(). Asserts
now.
11 years ago
Vladimír Vondruš
fef46953ec
Define-out precision qualifiers in test shaders for GLSL 1.20.
...
Causes the errors to abort on AMD cards.
11 years ago
Vladimír Vondruš
21076d0cae
Advertise MSVC 2015 support, add AppVeyor badge.
11 years ago
Vladimír Vondruš
9373d5cd45
Missing includes.
...
YES! The last commit before making MSVC 2015 green and I broke build
*everywhere*. Dammit.
11 years ago
Vladimír Vondruš
e1651f7388
Provide AbstractQuery forward declaration.
...
It is used now (in state tracker).
11 years ago
Vladimír Vondruš
7e80d1f7ae
Cleanup.
11 years ago
Vladimír Vondruš
69949b991a
Fix memory corruption on MSVC.
...
I can't believe that you can just forget to include some file and it
will SILENTLY PASS and then crashes horribly at runtime because each
translation unit thought that given member function pointer had
completely different size. THIS IS NOT ACCEPTABLE.
11 years ago
Vladimír Vondruš
6547a59f0b
ObjImporter: open the file as binary.
...
Apparently opening the file as text would NOT properly handle \r\n and
will break everything posssible instead. What a day!
11 years ago
Vladimír Vondruš
86c8fdef8d
Fix linking of tests on MinGW-w64 GCC 5.1.
...
It worked flawlessly when crosscompiled from Linux, but compiling that
natively causes the linker to loudly complain about undefined references
to ConfigurationValue structs. I think it worked well under 4.9.2 (but
that mess had a slew of other ugly problems, such as complete inability
to produce non-crashing C++11 code under x64). The linker error is
caused only because I tried to reduce binary bloat, so I'm just
disabling that for MinGW and screw that. No problem under MSVC.
11 years ago
Vladimír Vondruš
0f599567bb
MSVC 2015 compatibility: give up also on this.
11 years ago
Vladimír Vondruš
54fc071d2b
MSVC 2015 compatibility: NaN is not constexpr.
...
It probably complains only because one of them (the float one) is
constexpr and the other is not. Whatever.
11 years ago
Vladimír Vondruš
cf6bf1694f
MSVC 2015 compatibility: another compiler crash.
11 years ago
Vladimír Vondruš
eac01167f5
MSVC 2015 compatibility: except long double (de)normalization to fail.
...
I'm giving up on this one also for 2015. Cherry-picked from
compatibility branch (6ee931b7b492c12cd6674c93564617c7139cea84).
11 years ago