1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

sdlcursormanager: Clarify ANDROID check

This check will not be needed in the upcoming versions of OSG.

This was originally needed due to a bug in OSG that was fixed in
https://github.com/openscenegraph/OpenSceneGraph/pull/1027
This commit is contained in:
Gleb Mazovetskiy 2021-01-22 19:42:24 +00:00
parent 96b5581930
commit 7fe39c6a3a

View File

@ -20,7 +20,7 @@
#include "imagetosurface.hpp"
#if defined(OSG_LIBRARY_STATIC) && !defined(ANDROID)
#if defined(OSG_LIBRARY_STATIC) && (!defined(ANDROID) || OSG_VERSION_GREATER_THAN(3, 6, 5))
// Sets the default windowing system interface according to the OS.
// Necessary for OpenSceneGraph to do some things, like decompression.
USE_GRAPHICSWINDOW()