mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-06 11:15:33 +00:00
Fix OSG USE_GRAPHICSWINDOW check
When OSG is built with `-DOSG_WINDOWING_SYSTEM=None`, this macro does not exist. Replaces the Android-specific check with a general one.
This commit is contained in:
parent
fd602e2c31
commit
d24a5f7b89
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "imagetosurface.hpp"
|
||||
|
||||
#if defined(OSG_LIBRARY_STATIC) && !defined(ANDROID)
|
||||
#if defined(OSG_LIBRARY_STATIC) && defined(USE_GRAPHICSWINDOW)
|
||||
// Sets the default windowing system interface according to the OS.
|
||||
// Necessary for OpenSceneGraph to do some things, like decompression.
|
||||
USE_GRAPHICSWINDOW()
|
||||
|
|
Loading…
Reference in a new issue